mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
qemu-img: Print available options with -o ?
This patch adds a small help text to each of the options in the block drivers which can be displayed by using qemu-img create -f fmt -o ? Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
f425c27872
commit
db08adf526
10 changed files with 110 additions and 19 deletions
|
@ -40,6 +40,7 @@ typedef struct QEMUOptionParameter {
|
|||
uint64_t n;
|
||||
char* s;
|
||||
} value;
|
||||
const char *help;
|
||||
} QEMUOptionParameter;
|
||||
|
||||
|
||||
|
@ -63,5 +64,6 @@ QEMUOptionParameter *parse_option_parameters(const char *param,
|
|||
QEMUOptionParameter *list, QEMUOptionParameter *dest);
|
||||
void free_option_parameters(QEMUOptionParameter *list);
|
||||
void print_option_parameters(QEMUOptionParameter *list);
|
||||
void print_option_help(QEMUOptionParameter *list);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue