Minor improvements

This commit is contained in:
Ivan Krysak
2022-10-04 13:55:53 +02:00
committed by Alessandro Di Federico
parent c40c22fdef
commit 0b1aaeaede
17 changed files with 63 additions and 57 deletions
+2 -2
View File
@@ -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(