From 2336547a5fd239b97d86cb8213a438562d96fc55 Mon Sep 17 00:00:00 2001 From: Jaap Keuter Date: Mon, 4 Nov 2019 16:40:01 +0100 Subject: [PATCH] Show correct format of --display command line parameter The --display command line parameter must not have an equal sign between it and the value in order to work. Otherwise it is interpreted as a abbreviation of the display-filter long option. Bug: 16167 Change-Id: Ifcdd4cb8c41b24faccf01936a019a318fb1c3e0c Reviewed-on: https://code.wireshark.org/review/34961 Reviewed-by: Jaap Keuter Petri-Dish: Jaap Keuter Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs --- ui/commandline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/commandline.c b/ui/commandline.c index 7855661654..167c7adf3a 100644 --- a/ui/commandline.c +++ b/ui/commandline.c @@ -160,7 +160,7 @@ commandline_print_usage(gboolean for_help_option) { fprintf(output, " -o : ... override preference or recent setting\n"); fprintf(output, " -K keytab file to use for kerberos decryption\n"); #ifndef _WIN32 - fprintf(output, " --display=DISPLAY X display to use\n"); + fprintf(output, " --display DISPLAY X display to use\n"); #endif fprintf(output, " --fullscreen start Wireshark in full screen\n");