From 602cfd91a32eb8ce16792ae1dd5582cba01a1a38 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Mon, 11 Jul 2011 14:30:07 +0100 Subject: Default time spec to "now" in the client. --- bin/mauveclient | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/mauveclient') 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 -- cgit v1.2.1