aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-01-02 12:54:38 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-01-02 12:54:38 +0100
commit7312a5fcacb82cd92c936846dca641d322600054 (patch)
tree9d3add909c403e5888cb102755e0e8eb66176c3e
parent379274ad7a79d3aee1bd23573264377bbb7cb39c (diff)
downloaddrminfo-7312a5fcacb82cd92c936846dca641d322600054.tar.gz
tweak list args
-rw-r--r--prime.c4
-rw-r--r--virtiotest.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/prime.c b/prime.c
index e6243a7..f0d6566 100644
--- a/prime.c
+++ b/prime.c
@@ -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',
},{