From 27f632e3edab7e1711725a48966c234b965221a0 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 1 Dec 2023 10:37:30 +0100 Subject: 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. --- cli/objects/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-18-g5258