diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2023-10-06 10:52:35 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2023-10-06 10:56:25 +0200 |
commit | 35b4b1422a97dafd6c8ebb364409a4fcab7535ab (patch) | |
tree | 3eb5c13e04cce69820439433d5d27e4e3d117c88 /cli | |
parent | c224c596f44fa043f16cb29e17ea28bccfd87bfb (diff) |
cli: fix help message typos in some subcommands
For the delete subcommand: s/remove/delete
For the add subcommand: s/remove/add
Diffstat (limited to 'cli')
-rw-r--r-- | cli/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -156,7 +156,7 @@ class OgCLI(): def delete(self, args): choices = ['server'] - parser = argparse.ArgumentParser(prog='ogcli remove') + parser = argparse.ArgumentParser(prog='ogcli delete') parser.add_argument('delete_obj', choices=choices) parsed_args = parser.parse_args([args[0]]) @@ -165,7 +165,7 @@ class OgCLI(): def add(self, args): choices = ['server'] - parser = argparse.ArgumentParser(prog='ogcli remove') + parser = argparse.ArgumentParser(prog='ogcli add') parser.add_argument('add_obj', choices=choices) parsed_args = parser.parse_args([args[0]]) |