mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Minor improvements
This commit is contained in:
committed by
Alessandro Di Federico
parent
c40c22fdef
commit
0b1aaeaede
@@ -334,13 +334,13 @@ def open_argument(path):
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Compare a YAML file against " "a reference.")
|
||||
parser = argparse.ArgumentParser(description="Compare a YAML file against a reference.")
|
||||
parser.add_argument("reference", metavar="REFERENCE", help="The reference file.")
|
||||
parser.add_argument("input", metavar="INPUT", default="-", nargs="?", help="The input file.")
|
||||
parser.add_argument(
|
||||
"--exact",
|
||||
action="store_true",
|
||||
help=("Match exactly, containing the reference is not " + "enough."),
|
||||
help=("Match exactly, containing the reference is not enough."),
|
||||
)
|
||||
parser.add_argument("--not", action="store_true", help="If it matches, return an error.")
|
||||
parser.add_argument(
|
||||
|
||||
Reference in New Issue
Block a user