diff --git a/pwnagotchi/google/cmd.py b/pwnagotchi/google/cmd.py index 47d76f03..8b9cccb4 100644 --- a/pwnagotchi/google/cmd.py +++ b/pwnagotchi/google/cmd.py @@ -18,7 +18,7 @@ def add_parsers(subparsers): parser_google_auth = google_subparsers.add_parser('auth', help='Google Authentication') parser_google_auth.add_argument('bool', type=bool, help="This will start the authentication process") - return parser + return subparsers def used_google_cmd(args): diff --git a/pwnagotchi/plugins/cmd.py b/pwnagotchi/plugins/cmd.py index 690dd85e..05a056aa 100644 --- a/pwnagotchi/plugins/cmd.py +++ b/pwnagotchi/plugins/cmd.py @@ -58,7 +58,7 @@ def add_parsers(subparsers): parser_plugins_edit = plugin_subparsers.add_parser('edit', help='Edit the options') parser_plugins_edit.add_argument('name', type=str, help='Name of the plugin') - return parser + return subparsers def used_plugin_cmd(args):