From ad5e33515a209a72b66d7888a871427f9059e38a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Draszik?= Date: Mon, 5 Aug 2013 14:28:04 +0100 Subject: options: don't imply -v when doing a -p. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This avoids us getting (unnecessary) debug messages during -p. Signed-off-by: Alain Volmat Signed-off-by: André Draszik Signed-off-by: Laurent Pinchart --- src/options.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/options.c b/src/options.c index 4435d0b..d1fe6e9 100644 --- a/src/options.c +++ b/src/options.c @@ -42,8 +42,8 @@ static void usage(const char *argv0, int verbose) printf("-h, --help Show verbose help and exit\n"); printf("-i, --interactive Modify links interactively\n"); printf("-l, --links Comma-separated list of links descriptors to setup\n"); - printf("-p, --print-topology Print the device topology (implies -v)\n"); - printf(" --print-dot Print the device topology as a dot graph (implies -v)\n"); + printf("-p, --print-topology Print the device topology\n"); + printf(" --print-dot Print the device topology as a dot graph\n"); printf("-r, --reset Reset all links to inactive\n"); printf("-v, --verbose Be verbose\n"); @@ -143,7 +143,6 @@ int parse_cmdline(int argc, char **argv) case 'p': media_opts.print = 1; - media_opts.verbose = 1; break; case 'r': -- cgit v1.2.3