Compare commits

..

No commits in common. "main" and "main" have entirely different histories.
main ... main

View File

@ -94,15 +94,14 @@ def parse_args():
parser = argparse.ArgumentParser(
prog="powrap",
description="Ensure po files are using the standard gettext format",
formatter_class=argparse.RawTextHelpFormatter,
epilog="""exit code:
0:nothing to do
1:would rewrap
127:error running msgcat""",
)
parser.add_argument(
"-m",
"--modified",
"-m",
action="store_true",
help="Use git to find modified files instead of passing them as arguments.",
)
@ -115,11 +114,11 @@ def parse_args():
default=Path.cwd(),
)
parser.add_argument(
"-q", "--quiet", action="store_true", help="Do not show progress bar."
"--quiet", "-q", action="store_true", help="Do not show progress bar."
)
parser.add_argument(
"-d",
"--diff",
"-d",
action="store_true",
help="Don't write the files back, just output a diff for each file on stdout "
"(implies --check).",