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 <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Jaap Keuter 2019-11-04 16:40:01 +01:00 committed by Gerald Combs
parent e0ddc7ad9c
commit 2336547a5f
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ commandline_print_usage(gboolean for_help_option) {
fprintf(output, " -o <name>:<value> ... override preference or recent setting\n");
fprintf(output, " -K <keytab> 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");