Skip to content
Snippets Groups Projects
Commit 15bac0fb authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

test: add shortcut for using HEAD as reference

parent d56604af
No related branches found
No related tags found
No related merge requests found
Pipeline #121915 passed
......@@ -272,6 +272,9 @@ gwinc/test/cache/<SHA1>. Old caches are automatically pruned.""",
rgroup.add_argument(
'--git-rev', '-g', metavar='REV',
help="specify specific git revision to compare against")
rgroup.add_argument(
'--head', '-gh', action='store_const', dest='git_rev', const='HEAD',
help="shortcut for '--git-rev HEAD'")
ogroup = parser.add_mutually_exclusive_group()
ogroup.add_argument(
'--plot', '-p', action='store_true',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment