Skip to content
Snippets Groups Projects
Commit 43a8a729 authored by Bram Veenboer's avatar Bram Veenboer
Browse files

Change the order in which the flags appear with --help

parent 500a6d53
No related branches found
No related tags found
No related merge requests found
...@@ -19,27 +19,28 @@ def get_argument_parser(): ...@@ -19,27 +19,28 @@ def get_argument_parser():
) )
parser.add_argument( parser.add_argument(
"--kernel", "-k", type=str, required=False, help="Specify the kernel name" "-k", "--kernel", type=str, required=False, help="Specify the kernel name"
) )
parser.add_argument( parser.add_argument(
"--mock",
"-m", "-m",
"--mock",
type=str, type=str,
help="Specify mock input file to use instead of profiling output", help="Specify mock input file to use instead of profiling output",
) )
parser.add_argument( parser.add_argument(
"--output", "-o", type=str, help="Write full profiling output to file" "-o", "--output", type=str, help="Write full profiling output to file"
) )
parser.add_argument( parser.add_argument(
"--quiet",
"-q", "-q",
"--quiet",
default=False, default=False,
action="store_true", action="store_true",
help="Print profiling output only", help="Print profiling output only",
) )
return parser return parser
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment