From 9aa570202347472ae927a6b53512786b319439de Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 9 Dec 2013 09:37:13 -0500 Subject: [PATCH] scripts/timeside-launch: show usage if no argument is given --- scripts/timeside-launch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/timeside-launch b/scripts/timeside-launch index 2a3935d..fa081ce 100755 --- a/scripts/timeside-launch +++ b/scripts/timeside-launch @@ -141,6 +141,10 @@ if __name__ == '__main__': # load timeside after parse_args, to avoid gstreamer hijacking import timeside + if len(args) == 0: + print usage + sys.exit(1) + if not options.quiet: for a in dir(options): if not callable(getattr(options,a)) and not a.startswith('_'): -- 2.39.5