diff --git a/mdrsclient/commands/config.py b/mdrsclient/commands/config.py index e97fd5e..d5fd319 100644 --- a/mdrsclient/commands/config.py +++ b/mdrsclient/commands/config.py @@ -25,11 +25,11 @@ class ConfigCommand(BaseCommand): update_parser.add_argument("url", help="API entrypoint url of remote host") update_parser.set_defaults(func=cls.func_update) # config list - list_parser = config_parsers.add_parser("list", help="list all the remote hosts") + list_parser = config_parsers.add_parser("list", help="list all the remote hosts", aliases=["ls"]) list_parser.add_argument("-l", "--long", help="show the api url", action="store_true") list_parser.set_defaults(func=cls.func_list) # config delete - delete_parser = config_parsers.add_parser("delete", help="delete an existing remote host") + delete_parser = config_parsers.add_parser("delete", help="delete an existing remote host", aliases=["remove"]) delete_parser.add_argument("remote", help="label of remote host") delete_parser.set_defaults(func=cls.func_delete)