diff options
author | Gerald Combs <gerald@wireshark.org> | 2021-02-21 09:46:59 -0800 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-02-21 22:57:13 +0000 |
commit | b8ce02e6fb43dedb8d1a480a154cc7cca0c5c353 (patch) | |
tree | 127dea1189f13774095d9e8ce620fe2c6f9cfbea /editcap.c | |
parent | b9bdce8484ffd1b2447b801f6b74c911c12776c1 (diff) |
editcap: Fixup our help output.
Make sure list_capture_types prints to the designated stream so that
tools/update-tools-help.py works correctly for `editcap -F`.
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -894,7 +894,7 @@ list_capture_types(FILE *stream) { writable_type_subtypes = wtap_get_writable_file_types_subtypes(FT_SORT_BY_NAME); for (guint i = 0; i < writable_type_subtypes->len; i++) { int ft = g_array_index(writable_type_subtypes, int, i); - fprintf(stderr, " %s - %s\n", wtap_file_type_subtype_name(ft), + fprintf(stream, " %s - %s\n", wtap_file_type_subtype_name(ft), wtap_file_type_subtype_description(ft)); } g_array_free(writable_type_subtypes, TRUE); |