Browse Source

Small fixes

root-dir
carmenbianca 3 weeks ago
parent
commit
9ae6fd917b
Signed by: Carmen Bianca Bakker <carmenbianca@fsfe.org> GPG Key ID: 76EBA6F6B6EA2EC9
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/reuse/_main.py

+ 2
- 1
src/reuse/_main.py View File

@@ -73,6 +73,7 @@ def parser() -> argparse.ArgumentParser:
parser.add_argument(
"--root",
action="store",
metavar="PATH",
type=PathType("r", force_directory=True),
help=_("define root of project"),
)
@@ -81,7 +82,7 @@ def parser() -> argparse.ArgumentParser:
action="store_true",
help=_("show program's version number and exit"),
)
parser.set_defaults(func=lambda x, y: parser.print_help())
parser.set_defaults(func=lambda *args: parser.print_help())

subparsers = parser.add_subparsers(title=_("subcommands"))


Loading…
Cancel
Save