mirror of
https://github.com/vale981/melpazoid
synced 2025-03-06 01:41:38 -05:00
touch up parser arguments
This commit is contained in:
parent
3568258d6f
commit
09a376c898
1 changed files with 3 additions and 3 deletions
|
@ -882,9 +882,9 @@ def _argparse_recipe(recipe: str) -> str:
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument('--license', help='Only check licenses', action='store_true')
|
parser.add_argument('--license', help='only check licenses', action='store_true')
|
||||||
parser.add_argument('--recipe', help='A valid MELPA recipe', type=_argparse_recipe)
|
parser.add_argument('--recipe', help='a valid MELPA recipe', type=_argparse_recipe)
|
||||||
parser.add_argument('target', help='Build target', nargs='?', type=_argparse_target)
|
parser.add_argument('target', help='build target', nargs='?', type=_argparse_target)
|
||||||
pargs = parser.parse_args()
|
pargs = parser.parse_args()
|
||||||
|
|
||||||
if pargs.license:
|
if pargs.license:
|
||||||
|
|
Loading…
Add table
Reference in a new issue