diff options
author | Balint Reczey <balint.reczey@ericsson.com> | 2012-05-07 19:53:49 +0000 |
---|---|---|
committer | Balint Reczey <balint.reczey@ericsson.com> | 2012-05-07 19:53:49 +0000 |
commit | 4441dd7d598d5110d8a1ec860a59c7aec44378f9 (patch) | |
tree | 9384ebb5c0cce7af68659dd77b25fcb3f7f306f3 /file.c | |
parent | 8f9acccbc5e8141cb6cfddf8233c3713d3e29ccc (diff) |
Give hints to capture from stdin or pipe instead of opening it as a file
svn path=/trunk/; revision=42484
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3978,7 +3978,8 @@ cf_open_failure_alert_box(const char *filename, int err, gchar *err_info, case WTAP_ERR_RANDOM_OPEN_PIPE: /* Seen only when opening a capture file for reading. */ simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, - "The file \"%s\" is a pipe or FIFO; Wireshark can't read pipe or FIFO files.", + "The file \"%s\" is a pipe or FIFO; Wireshark can't read pipe or FIFO files.\n" + "To capture from a pipe or FIFO use wireshark -i -", filename); break; |