Skip to content

Commit

Permalink
add alias --mc and --mt
Browse files Browse the repository at this point in the history
  • Loading branch information
daejunpark committed Dec 21, 2023
1 parent ed49440 commit d03e460
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/halmos/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def mk_arg_parser() -> argparse.ArgumentParser:
)
parser.add_argument(
"--match-contract",
"--mc",
metavar="CONTRACT_NAME_REGEX",
default="",
help="run tests in contracts matching the given regex. Ignored if the --contract name is given. (default: '%(default)s')",
Expand All @@ -34,6 +35,7 @@ def mk_arg_parser() -> argparse.ArgumentParser:
)
parser.add_argument(
"--match-test",
"--mt",
metavar="FUNCTION_NAME_REGEX",
default="^check_",
help="run tests matching the given regex. The --function prefix is automatically added, unless the regex starts with '^'. (default: '%(default)s')",
Expand Down

0 comments on commit d03e460

Please sign in to comment.