diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-03-16 13:57:37 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-03-16 20:58:01 +0000 |
commit | 8197c769ead538ebeb0f3b6cd2790df547903235 (patch) | |
tree | 4b754b11c99057b95b84051b6e61dd8d080f046b /dumpcap.c | |
parent | ce55eb3a5e867c80a33f5af74c7ccea4d04384fb (diff) | |
download | wireshark-8197c769ead538ebeb0f3b6cd2790df547903235.tar.gz |
Update an error message to reflect all the run-dumpcap-and-quit arguments.
Change-Id: I3c270279b4ea044919de5497d373c283ea87c5bf
Reviewed-on: https://code.wireshark.org/review/7709
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4719,7 +4719,11 @@ DIAG_ON(cast-qual) } if (run_once_args > 1) { - cmdarg_err("Only one of -D, -L, or -S may be supplied."); +#ifdef HAVE_BPF_IMAGE + cmdarg_err("Only one of -D, -L, -d, -k, or -S may be supplied."); +#else + cmdarg_err("Only one of -D, -L, -k, or -S may be supplied."); +#endif exit_main(1); } else if (run_once_args == 1) { /* We're supposed to print some information, rather than |