fix greetings not updating date on exit

This commit is contained in:
Adphi 2019-01-19 19:15:22 +01:00
부모 a1efcf2096
커밋 1745aa185a
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -32,7 +32,9 @@
});
}
}, {
greetings: '[[;green;]' + new Date().toString().slice(0, 24) + "]\n\nPress [[;#ff5e99;]Enter] for more information on [[;#009ae3;]occ] commands.\n",
greetings: function (callback) {
callback('[[;green;]' + new Date().toString().slice(0, 24) + "]\n\nPress [[;#ff5e99;]Enter] for more information on [[;#009ae3;]occ] commands.\n")
},
name: 'occ',
prompt: 'occ $ ',
completion: response,