tshark.c: Change "Live captures can only be saved in libpcap format" to "[...] in pcap or pcapng format"

Change-Id: I18dd0d15e261ecbc1ec086b4870a994afc7665ee
Reviewed-on: https://code.wireshark.org/review/1953
Reviewed-by: Bill Meier <wmeier@newsguy.com>
This commit is contained in:
Bill Meier 2014-06-04 15:15:42 -04:00
parent 3d23cbd11f
commit dc02627adf
1 changed files with 1 additions and 1 deletions

View File

@ -1826,7 +1826,7 @@ main(int argc, char *argv[])
/* When capturing, we only support writing pcap or pcap-ng format. */
if (out_file_type != WTAP_FILE_TYPE_SUBTYPE_PCAP &&
out_file_type != WTAP_FILE_TYPE_SUBTYPE_PCAPNG) {
cmdarg_err("Live captures can only be saved in libpcap format.");
cmdarg_err("Live captures can only be saved in pcap or pcapng format.");
return 1;
}
if (global_capture_opts.capture_comment &&