Revision 0f87c43e lib/cli.py
b/lib/cli.py | ||
---|---|---|
50 | 50 |
"DISK_TEMPLATE_OPT", |
51 | 51 |
"FIELDS_OPT", |
52 | 52 |
"FILESTORE_DIR_OPT", |
53 |
"FILESTORE_DRIVER_OPT", |
|
53 | 54 |
"FORCE_OPT", |
54 | 55 |
"NOHDR_OPT", |
55 | 56 |
"NONICS_OPT", |
... | ... | |
493 | 494 |
" file storage dir to store file-based disks", |
494 | 495 |
default=None, metavar="<DIR>") |
495 | 496 |
|
497 |
FILESTORE_DRIVER_OPT = cli_option("--file-driver", dest="file_driver", |
|
498 |
help="Driver to use for image files", |
|
499 |
default="loop", metavar="<DRIVER>", |
|
500 |
choices=list(constants.FILE_DRIVER)) |
|
501 |
|
|
496 | 502 |
|
497 | 503 |
def _ParseArgs(argv, commands, aliases): |
498 | 504 |
"""Parser for the command line arguments. |
Also available in: Unified diff