Skip to content
Snippets Groups Projects
Commit 8f39669a authored by Stefano Zacchiroli's avatar Stefano Zacchiroli
Browse files

admin CLI: avoid redefining deposit name in admin subcommand

parent 11f8bbba
No related branches found
No related tags found
1 merge request!37admin CLI: avoid redefining deposit name in admin subcommand
...@@ -180,15 +180,15 @@ def collection_list(ctx): ...@@ -180,15 +180,15 @@ def collection_list(ctx):
@admin.group('deposit') @admin.group('deposit')
@click.pass_context @click.pass_context
def deposit(ctx): def adm_deposit(ctx):
"""Manipulate deposit.""" """Manipulate deposit."""
pass pass
@deposit.command('reschedule') @adm_deposit.command('reschedule')
@click.option('--deposit-id', required=True, help="Deposit identifier") @click.option('--deposit-id', required=True, help="Deposit identifier")
@click.pass_context @click.pass_context
def deposit_reschedule(ctx, deposit_id): def adm_deposit_reschedule(ctx, deposit_id):
"""Reschedule the deposit loading """Reschedule the deposit loading
This will: This will:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment