summaryrefslogtreecommitdiffstats
path: root/cli/objects/repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/objects/repo.py')
-rw-r--r--cli/objects/repo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/objects/repo.py b/cli/objects/repo.py
index c586768..c287926 100644
--- a/cli/objects/repo.py
+++ b/cli/objects/repo.py
@@ -45,6 +45,7 @@ class OgRepo():
def delete_repo(rest, args):
parser = argparse.ArgumentParser(prog='ogcli delete repo')
parser.add_argument('--id',
+ type=int,
nargs='?',
required=True,
help='repo id (list repos using "ogcli list repos")')
@@ -56,6 +57,7 @@ class OgRepo():
def set_repo(rest, args):
parser = argparse.ArgumentParser(prog='ogcli set repo')
parser.add_argument('--id',
+ type=int,
nargs='?',
required=True,
help='repo id (list repos using "ogcli list repos")')