# HG changeset patch # User Andrey Skvortsov # Date 1490625656 -10800 # Node ID d3603b5a1cbc7fb9301d0d9cdd426186b0114542 # Parent 081f4463b37de4cd7e66d06e7a589229dd3b693c make command line help message for Beremiz more verbose diff -r 081f4463b37d -r d3603b5a1cbc 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:"