diff --git a/py/program.py b/py/program.py index db76c54..f186f3f 100755 --- a/py/program.py +++ b/py/program.py @@ -100,8 +100,14 @@ # Usage Prompts ##### +# Make the options list more human readable + +optionslist = OPTIONSLIST.replace(':', ' arg -').strip() +if optionslist[-1] = '-': + optionslist = optionslist[:-1] + uTable = [PROGVER, - "usage: " + PROGNAME + " [%s]" % OPTIONSLIST, + "usage: " + PROGNAME + " [%s]" % optionslist, " where,", " -f file configuration file to use", " -h print this help information",