Revision 5b50c3b4

b/snf-cyclades-app/synnefo/logic/management/commands/pool-remove.py
44 44
    help = "Remove a pool."
45 45
    args = "<pool ID>"
46 46
    output_transaction = True
47
    option_list = RemoveCommand.option_list + (
47
    command_option_list = RemoveCommand.command_option_list + (
48 48
        make_option("--type", dest="type",
49 49
                    choices=POOL_CHOICES,
50 50
                    help="Type of pool"
b/snf-cyclades-app/synnefo/logic/management/commands/port-remove.py
40 40
    can_import_settings = True
41 41
    args = "<Port ID> [<Port ID> ...]"
42 42
    help = "Remove a port from the Database and from the VMs attached to"
43
    option_list = RemoveCommand.option_list + (
43
    command_option_list = RemoveCommand.command_option_list + (
44 44
        make_option(
45 45
            "--wait",
46 46
            dest="wait",
b/snf-cyclades-app/synnefo/logic/management/commands/server-remove.py
46 46
    args = "<Server ID> [<Server ID> ...]"
47 47
    help = "Remove a server by deleting the instance from the Ganeti backend."
48 48

  
49
    option_list = RemoveCommand.option_list + (
49
    command_option_list = RemoveCommand.command_option_list + (
50 50
        make_option(
51 51
            '--wait',
52 52
            dest='wait',
b/snf-django-lib/snf_django/management/commands/__init__.py
375 375
        utils.pprint_table(self.stdout, table, headers)
376 376

  
377 377

  
378
class RemoveCommand(BaseCommand):
378
class RemoveCommand(SynnefoCommand):
379 379
    help = "Generic remove command"
380
    option_list = BaseCommand.option_list + (
380

  
381
    command_option_list = (
381 382
        make_option(
382 383
            "-f", "--force",
383 384
            dest="force",

Also available in: Unified diff