aboutsummaryrefslogtreecommitdiff
path: root/bin/mauveclient
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-07-11 14:30:07 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-07-11 14:30:07 +0100
commit602cfd91a32eb8ce16792ae1dd5582cba01a1a38 (patch)
treef63226a0f6e361e8cfb857bf133b1e1183c460f9 /bin/mauveclient
parent1ac431fa21907a2a95d87901825cff3dc462746b (diff)
Default time spec to "now" in the client.
Diffstat (limited to 'bin/mauveclient')
-rwxr-xr-xbin/mauveclient5
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