Commit 500b76af authored by russ@binaryguard.com's avatar russ@binaryguard.com

Restored command line arguments lost in commit 3ef393e9.

parent de535f11
......@@ -40,10 +40,13 @@ if __name__ == '__main__':
" 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment