diff options
author | John Thacker <johnthacker@gmail.com> | 2022-04-07 20:57:08 -0400 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2022-04-07 20:57:08 -0400 |
commit | f0f0f05060a16141a1a06be233b2884d6cc56e71 (patch) | |
tree | 9d0cbd033f5fe0ddc3bf2df8c087ce9f4f913903 /editcap.c | |
parent | 37ccc2b0e58b9f7ea3479f721f3909e340d4cfea (diff) |
editcap: Document use of stdin and stdout
Editcap accepts '-' for stdin or stdout, document that. Also change
an incorrect statement that claims that the '-v' flag writes to
standard output; it writes to standard error.
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -736,7 +736,7 @@ print_usage(FILE *output) fprintf(output, "\n"); fprintf(output, "Usage: editcap [options] ... <infile> <outfile> [ <packet#>[-<packet#>] ... ]\n"); fprintf(output, "\n"); - fprintf(output, "<infile> and <outfile> must both be present.\n"); + fprintf(output, "<infile> and <outfile> must both be present; use '-' for stdin or stdout.\n"); fprintf(output, "A single packet or a range of packets can be selected.\n"); fprintf(output, "\n"); fprintf(output, "Packet selection:\n"); |