Changed --settings to --version to be more compatible with other programs; added --config=[section.setting[:value]] to see/set config value(s)

svn: r15817
This commit is contained in:
Doug Blank
2010-08-26 12:17:00 +00:00
parent 7c110d15b8
commit 5ed53f5e9c
2 changed files with 32 additions and 3 deletions

View File

@@ -261,7 +261,7 @@ def run():
#we start with parsing the arguments to determine if we have a cli or a
# gui session
if "-s" in sys.argv or "--settings" in sys.argv:
if "-v" in sys.argv or "--version" in sys.argv:
show_settings()
return error