diff --git a/pronterface.py b/pronterface.py index 8f75909f1..ce993c237 100755 --- a/pronterface.py +++ b/pronterface.py @@ -40,10 +40,13 @@ " pronterface [OPTION]\n\n"+\ "Options:\n"+\ " -V, --version\t\t\tPrint program's version number and exit\n"+\ - " -h, --help\t\t\tPrint this help message and exit\n" + " -h, --help\t\t\tPrint this help message and exit\n"+\ + " -a, --autoconnect\t\t\tautomatically try to connect to printer on startup\n"+\ + " -c, --conf\t\t\tload this file on startup instead of .pronsolerc ; you may chain config files, if so settings auto-save will use the last specified file\n"+\ + " -e, --execute\t\t\texecutes command after configuration/.pronsolerc is loaded ; macros/settings from these commands are not autosaved" try: - opts, args = getopt.getopt(sys.argv[1:], "hV", ["help", "version"]) + opts, args = getopt.getopt(sys.argv[1:], "hVcea", ["help", "version", "conf", "execute", "autoconnect"]) except getopt.GetoptError, err: print str(err) print usage