summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-11-22 17:48:21 +0200
committerLars Wirzenius <liw@liw.fi>2014-11-22 17:48:21 +0200
commit72273168fa4b23077fdfe39556d043c1295fb246 (patch)
tree3de9cc90e172e11c71d5a6399f762416bfded98d
parent2d52ef8cf83afe7cb1baa1ba88ff8ba0ee7cf598 (diff)
downloadjt-72273168fa4b23077fdfe39556d043c1295fb246.tar.gz
Add dummy --pretend-time setting
-rwxr-xr-xjt5
1 files changed, 5 insertions, 0 deletions
diff --git a/jt b/jt
index 4a35616..e17d4c8 100755
--- a/jt
+++ b/jt
@@ -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.'''