diff options
Diffstat (limited to 'pyAggr3g470r')
-rwxr-xr-x | pyAggr3g470r | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyAggr3g470r b/pyAggr3g470r index b136df24..81f5cea0 100755 --- a/pyAggr3g470r +++ b/pyAggr3g470r @@ -117,7 +117,9 @@ def usage(): if __name__ == "__main__": # Point of entry in execution mode. - if sys.argv[1] == "start": + if len(sys.argv) == 1: + usage() + elif sys.argv[1] == "start": start() elif sys.argv[1] == "stop": stop() |