path: root/tshark.c
diff options
authorStig Bjørlykke <stig@bjorlykke.org>2019-01-31 12:38:16 +0100
committerPeter Wu <peter@lekensteyn.nl>2019-01-31 13:16:54 +0000
commit6aad32583dcf9a159b68007546d699fb391c7f18 (patch)
tree6d5d329c8bf99970d3bcdc5b627aeb3b2de1e2d6 /tshark.c
parent3bbf2c5e64b4e7018667ff96008ad57ea5481b60 (diff)
tshark: Improve options help texts
Align the usage help text for '-' as filename for stdin and stdout with the text used for wireshark. Change-Id: I67011b8234616940b7878fd5768c9e2a9e79f9f0 Reviewed-on: https://code.wireshark.org/review/31838 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'tshark.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/tshark.c b/tshark.c
index b3d86f49a2..c1fbd13eb5 100644
--- a/tshark.c
+++ b/tshark.c
@@ -360,7 +360,7 @@ print_usage(FILE *output)
/*fprintf(output, "\n");*/
fprintf(output, "Input file:\n");
- fprintf(output, " -r <infile> set the filename to read from (- to read from stdin)\n");
+ fprintf(output, " -r <infile|-> set the filename to read from (or '-' for stdin)\n");
fprintf(output, "\n");
fprintf(output, "Processing:\n");
@@ -393,7 +393,7 @@ print_usage(FILE *output)
fprintf(output, " -w <outfile|-> write packets to a pcap-format file named \"outfile\"\n");
- fprintf(output, " (or to the standard output for \"-\")\n");
+ fprintf(output, " (or '-' for stdout)\n");
fprintf(output, " -C <config profile> start with specified configuration profile\n");
fprintf(output, " -F <output file type> set the output file type, default is pcapng\n");