summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-10-06 10:52:35 +0200
committerJose M. Guisado <jguisado@soleta.eu>2023-10-06 10:56:25 +0200
commit35b4b1422a97dafd6c8ebb364409a4fcab7535ab (patch)
tree3eb5c13e04cce69820439433d5d27e4e3d117c88 /cli
parentc224c596f44fa043f16cb29e17ea28bccfd87bfb (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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/cli.py b/cli/cli.py
index 02cae6b..0009dbf 100644
--- a/cli/cli.py
+++ b/cli/cli.py
@@ -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]])