diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-11-22 17:48:21 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-11-22 17:48:21 +0200 |
commit | 72273168fa4b23077fdfe39556d043c1295fb246 (patch) | |
tree | 3de9cc90e172e11c71d5a6399f762416bfded98d | |
parent | 2d52ef8cf83afe7cb1baa1ba88ff8ba0ee7cf598 (diff) | |
download | jt-72273168fa4b23077fdfe39556d043c1295fb246.tar.gz |
Add dummy --pretend-time setting
-rwxr-xr-x | jt | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -77,6 +77,11 @@ class JournalTool(cliapp.Application): ['push'], 'push finished articles with git?') + self.settings.string( + ['pretend-time'], + 'pretend that the time is NOW (form: YYYY-MM-DD HH:MM:DD form)', + metavar='NOW') + def cmd_new(self, args): '''Create a new journal entry draft.''' |