From 7312a5fcacb82cd92c936846dca641d322600054 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 2 Jan 2020 12:54:38 +0100 Subject: tweak list args --- prime.c | 4 ++-- virtiotest.c | 4 ++-- 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 pick card\n" " -s | --sleep 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', },{ -- cgit