aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r
diff options
context:
space:
mode:
Diffstat (limited to 'pyAggr3g470r')
-rwxr-xr-xpyAggr3g470r4
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()
bgstack15