From 35b4b1422a97dafd6c8ebb364409a4fcab7535ab Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Fri, 6 Oct 2023 10:52:35 +0200 Subject: cli: fix help message typos in some subcommands For the delete subcommand: s/remove/delete For the add subcommand: s/remove/add --- cli/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli') 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]]) -- cgit v1.2.3-18-g5258