From: Timo Kokkonen Date: Mon, 7 Oct 2013 14:58:38 +0000 (+0300) Subject: options: Fix short option for --baud X-Git-Url: http://git.itanic.dy.fi/?p=log-plotter;a=commitdiff_plain;h=a3f67315d93d2b58b3e3a9d587507bac5517db92;hp=112b349d73432945d85fa5d57c283a58c5cc5d22 options: Fix short option for --baud --baud in short is -b Signed-off-by: Timo Kokkonen --- diff --git a/options.c b/options.c index 5abca17..28021f7 100644 --- a/options.c +++ b/options.c @@ -20,7 +20,7 @@ int read_args(int argc, char *argv[], struct plotter_options *opts) static struct option long_options[] = { { .val = 'd', .name = "device", .has_arg = 1, }, { .val = 'o', .name = "output", .has_arg = 1 }, - { .val = 'o', .name = "baud", .has_arg = 1 }, + { .val = 'b', .name = "baud", .has_arg = 1 }, { .val = 'v', .name = "verbose", .has_arg = 2 }, { .val = 'q', .name = "quiet", }, };