Add character page and create/edit workflows #18

Merged
Jaculabilis merged 9 commits from tvb/character-page into develop 2021-08-29 15:15:45 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit c26a0a058b - Show all commits

View File

@ -50,7 +50,7 @@ def add_subcommand(subparsers, module) -> None:
command_parser: ArgumentParser = subparsers.add_parser( command_parser: ArgumentParser = subparsers.add_parser(
command_name, help=command_help command_name, help=command_help
) )
command_parser.set_defaults(func=lambda args: command_parser.print_usage()) command_parser.set_defaults(func=lambda args: command_parser.print_help())
# Add all subcommands in the command module # Add all subcommands in the command module
subcommands = command_parser.add_subparsers(metavar="SUBCOMMAND") subcommands = command_parser.add_subparsers(metavar="SUBCOMMAND")
@ -97,7 +97,7 @@ def main():
parser = ArgumentParser() parser = ArgumentParser()
parser.set_defaults( parser.set_defaults(
parser=parser, parser=parser,
func=lambda args: parser.print_usage(), func=lambda args: parser.print_help(),
get_db=None, get_db=None,
) )
parser.add_argument("--verbose", "-v", action="store_true", help="Verbose output") parser.add_argument("--verbose", "-v", action="store_true", help="Verbose output")