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.
master
OpenGnSys Support Team 2023-12-01 10:37:30 +01:00
parent 6b4a7a64ee
commit 27f632e3ed
1 changed files with 1 additions and 1 deletions

View File

@ -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)