changeset 3:bfd2651f928c

added minimal usage arguments
author Emmanouil Theofanis Chourdakis <e.t.chourdakis@qmul.ac.uk>
date Fri, 29 Sep 2017 20:05:23 +0100
parents 6352dffb2d5b
children 94eb0280ad4a
files simscene.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/simscene.py	Fri Sep 29 13:46:24 2017 +0100
+++ b/simscene.py	Fri Sep 29 20:05:23 2017 +0100
@@ -33,17 +33,17 @@
         help="Path of a directory containing wave files for sound backgrounds (in the `background' sub-directory) or events (in `event')"
     )
     argparser.add_argument(
-        'scene_duration',
+        '-s', '--scene_duration',
         type=float,
         help="Duration of scene in seconds",
     )
     argparser.add_argument(
-        'score_events',
+        '-e', '--score_events',
         type=str,
         help="Score events file as a comma-separated text file (.csv, .txt), JSON (.json), or Excel (.xls) file"
     )
     argparser.add_argument(
-        'score_backgrounds',
+        '-b', '--score_backgrounds',
         type=str,
         help="Score backgrounds file as a comma-separated text file (.csv, .txt), JSON (.json), or Excel (.xls) file"
     )