mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
fix prog arg to return correct version
This commit is contained in:
parent
75043079d0
commit
2cf127f2d3
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ def _adjust_args_and_chdir(args):
|
|||
def main(argv=None):
|
||||
argv = argv if argv is not None else sys.argv[1:]
|
||||
argv = [five.to_text(arg) for arg in argv]
|
||||
parser = argparse.ArgumentParser()
|
||||
parser = argparse.ArgumentParser(prog='pre_commit')
|
||||
|
||||
# https://stackoverflow.com/a/8521644/812183
|
||||
parser.add_argument(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue