diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-01 10:37:30 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-01 10:38:40 +0100 |
commit | 27f632e3edab7e1711725a48966c234b965221a0 (patch) | |
tree | 9cedcfaa0302f496a288b5f75f41a674c83dca3a | |
parent | 6b4a7a64eedc3f4feb4a8be0177de059c99507d3 (diff) |
repository: fix incorrect help
# ogcli delete repo -h
[...]
--id [ID] room id in scopes
this is not the room id, it should be the repo id.
-rw-r--r-- | cli/objects/repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/objects/repo.py b/cli/objects/repo.py index 9f37591..15608c1 100644 --- a/cli/objects/repo.py +++ b/cli/objects/repo.py @@ -47,7 +47,7 @@ class OgRepo(): parser.add_argument('--id', nargs='?', required=True, - help='room id in scopes') + help='repo id (list repos using "ogcli list repos")') parsed_args = parser.parse_args(args) payload = {'id': parsed_args.id} rest.post('/repository/delete', payload=payload) |