diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-07-11 14:30:07 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-07-11 14:30:07 +0100 |
commit | 602cfd91a32eb8ce16792ae1dd5582cba01a1a38 (patch) | |
tree | f63226a0f6e361e8cfb857bf133b1e1183c460f9 /bin | |
parent | 1ac431fa21907a2a95d87901825cff3dc462746b (diff) |
Default time spec to "now" in the client.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mauveclient | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/mauveclient b/bin/mauveclient index 70f33c7..0068435 100755 --- a/bin/mauveclient +++ b/bin/mauveclient @@ -162,6 +162,11 @@ def error(msg) end def parse_time_spec(spec = "now") + # + # Default to now + # + spec = "now" if spec.empty? + case spec when "now" NOW |