small adjustments for cli descriptions and readme

This commit is contained in:
Robert Kaussow 2019-04-17 12:36:46 +02:00
parent 27f91cb260
commit 7b6eeaec46
2 changed files with 5 additions and 3 deletions

View File

@ -163,7 +163,9 @@ optional arguments:
-r RULES.STANDARDS, --rules RULES.STANDARDS
location of standards rules
-s RULES.FILTER, --standards RULES.FILTER
limit standards to specific ID's
limit standards to given ID's
-x RULES.EXCLUDE_FILTER, --exclude-standards RULES.EXCLUDE_FILTER
exclude standards by given ID's
-v increase log level
-q decrease log level
--version show program's version number and exit

View File

@ -21,9 +21,9 @@ def main():
parser.add_argument("-r", "--rules", dest="rules.standards",
help="location of standards rules")
parser.add_argument("-s", "--standards", dest="rules.filter", action="append",
help="limit standards to specific ID's")
help="limit standards to given ID's")
parser.add_argument("-x", "--exclude-standards", dest="rules.exclude_filter", action="append",
help="exclude standards by ID")
help="exclude standards by given ID's")
parser.add_argument("-v", dest="logging.level", action="append_const", const=-1,
help="increase log level")
parser.add_argument("-q", dest="logging.level", action="append_const",