Revision f17d6cb5 kamaki/cli/commands/pithos.py

b/kamaki/cli/commands/pithos.py
450 450

  
451 451
@command(pithos_cmds)
452 452
class file_mkdir(_file_container_command, _optional_output_cmd):
453
    """Create a directory"""
454

  
455
    __doc__ += '\n. '.join([
456
        'Kamaki hanldes directories the same way as OOS Storage and Pithos+:',
457
        'A   directory  is   an  object  with  type  "application/directory"',
458
        'An object with path  dir/name can exist even if  dir does not exist',
459
        'or even if dir  is  a non  directory  object.  Users can modify dir',
460
        'without affecting the dir/name object in any way.'])
453
    """Create a directory
454
    Kamaki hanldes directories the same way as OOS Storage and Pithos+:
455
    A directory  is   an  object  with  type  "application/directory"
456
    An object with path  dir/name can exist even if  dir does not exist
457
    or even if dir  is  a non  directory  object.  Users can modify dir '
458
    without affecting the dir/name object in any way.
459
    """
461 460

  
462 461
    @errors.generic.all
463 462
    @errors.pithos.connection
......
533 532
class _source_destination_command(_file_container_command):
534 533

  
535 534
    arguments = dict(
536
        destination_account=ValueArgument('', ('a', '--dst-account')),
535
        destination_account=ValueArgument('', ('-a', '--dst-account')),
537 536
        recursive=FlagArgument('', ('-R', '--recursive')),
538 537
        prefix=FlagArgument('', '--with-prefix', default=''),
539 538
        suffix=ValueArgument('', '--with-suffix', default=''),

Also available in: Unified diff