make command line help message for Beremiz more verbose
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 27 Mar 2017 17:40:56 +0300
changeset 1666 d3603b5a1cbc
parent 1665 081f4463b37d
child 1667 cefc9219bb48
make command line help message for Beremiz more verbose
Beremiz.py
--- a/Beremiz.py	Tue Mar 21 18:01:09 2017 +0300
+++ b/Beremiz.py	Mon Mar 27 17:40:56 2017 +0300
@@ -58,8 +58,15 @@
 
 
     def Usage(self):
-        print "\nUsage:"
-        print "\n   %s [Projectpath] [Buildpath]\n"%sys.argv[0]
+        print "Usage:"
+        print "%s [Options] [Projectpath] [Buildpath]"%sys.argv[0]        
+        print ""
+        print "Supported options:"
+        print "-h --help                    Print this help"
+        print "-u --updatecheck URL         Retrieve update information by checking URL"
+        print "-e --extend PathToExtension  Extend IDE functionality by loading at start additional extensions"
+        print ""
+        print ""        
 
     def SetCmdOptions(self):
         self.shortCmdOpts = "hu:e:"