summaryrefslogtreecommitdiffstats
path: root/cli/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/cli.py')
-rw-r--r--cli/cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/cli.py b/cli/cli.py
index 87fc772..0e7c749 100644
--- a/cli/cli.py
+++ b/cli/cli.py
@@ -51,7 +51,7 @@ class OgCLI():
def list(self, args):
choices = ['clients', 'scopes', 'modes', 'hardware',
'client']
- parser = argparse.ArgumentParser()
+ parser = argparse.ArgumentParser(prog='ogcli list')
parser.add_argument('item', choices=choices)
parsed_args = parser.parse_args([args[0]])
@@ -68,7 +68,7 @@ class OgCLI():
def set(self, args):
choices = ['modes']
- parser = argparse.ArgumentParser()
+ parser = argparse.ArgumentParser(prog='ogcli set')
parser.add_argument('item', choices=choices)
parsed_args = parser.parse_args([args[0]])