diff options
| author | André Draszik <andre.draszik@linaro.org> | 2013-08-05 14:28:04 +0100 | 
|---|---|---|
| committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-08-21 15:03:43 +0200 | 
| commit | ad5e33515a209a72b66d7888a871427f9059e38a (patch) | |
| tree | db1b59b83b858837f84fdb6247f89eb55f7d3fb8 /src | |
| parent | cfc025ce9f94a729e8fe9cc16466db288cd201da (diff) | |
options: don't imply -v when doing a -p.
This avoids us getting (unnecessary) debug messages during -p.
Signed-off-by: Alain Volmat <alain.volmat@st.com>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/options.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| 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': | 
