diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-01-02 12:54:38 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-01-02 12:54:38 +0100 |
commit | 7312a5fcacb82cd92c936846dca641d322600054 (patch) | |
tree | 9d3add909c403e5888cb102755e0e8eb66176c3e | |
parent | 379274ad7a79d3aee1bd23573264377bbb7cb39c (diff) | |
download | drminfo-7312a5fcacb82cd92c936846dca641d322600054.tar.gz |
tweak list args
-rw-r--r-- | prime.c | 4 | ||||
-rw-r--r-- | virtiotest.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -241,7 +241,7 @@ static void usage(FILE *fp) "\n" "options:\n" " -h | --help print this\n" - " -l | --list list cards\n" + " -l | --list-cards list cards\n" "\n"); } @@ -252,7 +252,7 @@ struct option long_opts[] = { .has_arg = false, .val = 'h', },{ - .name = "list", + .name = "list-cards", .has_arg = false, .val = 'l', },{ diff --git a/virtiotest.c b/virtiotest.c index 6133251..b4358f9 100644 --- a/virtiotest.c +++ b/virtiotest.c @@ -234,7 +234,7 @@ static void usage(FILE *fp) " -h | --help print this\n" " -a | --autotest autotest mode\n" " -i | --info print virtio device info\n" - " -l | --list list formats\n" + " -l | --list-formats list formats\n" " -c | --card <nr> pick card\n" " -s | --sleep <secs> set sleep time (default: 60)\n" "\n"); @@ -255,7 +255,7 @@ struct option long_opts[] = { .has_arg = false, .val = 'i', },{ - .name = "list", + .name = "list-formats", .has_arg = false, .val = 'l', },{ |