summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-07-02 19:03:07 -0700
committerGuy Harris <guy@alum.mit.edu>2014-07-03 02:03:35 +0000
commit66c342ed59ed0e61f0b32c68b8197016a7299a6d (patch)
tree8742dd5bf61b7c442bcf7bf12e469cd660e497d5 /tshark.c
parent0e4e825309a1dea3dde17a44d29d2be666c71335 (diff)
downloadwireshark-66c342ed59ed0e61f0b32c68b8197016a7299a6d.tar.gz
Regularize the first line of version output.
For Wireshark, say "Wireshark", not "wireshark". For other programs, put "(Wireshark)" after the program name, as per http://www.gnu.org/prep/standards/html_node/_002d_002dversion.html ("If the program is a subsidiary part of a larger package, mention the package name in parentheses, like this"). Change-Id: I68558f64cfa6ee4423e42f3d6b120633ef1b2716 Reviewed-on: https://code.wireshark.org/review/2788 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tshark.c b/tshark.c
index 3537034366..80dbe45a2a 100644
--- a/tshark.c
+++ b/tshark.c
@@ -290,7 +290,7 @@ print_usage(gboolean print_ver)
if (print_ver) {
output = stdout;
fprintf(output,
- "TShark %s\n"
+ "TShark (Wireshark) %s\n"
"Dump and analyze network traffic.\n"
"See http://www.wireshark.org for more information.\n"
"\n"
@@ -417,7 +417,7 @@ glossary_option_help(void)
output = stdout;
- fprintf(output, "TShark %s\n", get_ws_vcs_version_info());
+ fprintf(output, "TShark (Wireshark) %s\n", get_ws_vcs_version_info());
fprintf(output, "\n");
fprintf(output, "Usage: tshark -G [report]\n");
@@ -908,7 +908,7 @@ print_current_user(void) {
static void
show_version(GString *comp_info_str, GString *runtime_info_str)
{
- printf("TShark %s\n"
+ printf("TShark (Wireshark) %s\n"
"\n"
"%s"
"\n"
@@ -1052,7 +1052,7 @@ main(int argc, char *argv[])
get_runtime_version_info(runtime_info_str, get_tshark_runtime_info);
/* Add it to the information to be reported on a crash. */
- ws_add_crash_info("TShark %s\n"
+ ws_add_crash_info("TShark (Wireshark) %s\n"
"\n"
"%s"
"\n"
@@ -3102,7 +3102,7 @@ load_cap_file(capture_file *cf, char *save_file, int out_file_type,
}
/* If we don't have an application name add Tshark */
if (shb_hdr->shb_user_appl == NULL) {
- g_snprintf(appname, sizeof(appname), "TShark %s", get_ws_vcs_version_info());
+ g_snprintf(appname, sizeof(appname), "TShark (Wireshark) %s", get_ws_vcs_version_info());
shb_hdr->shb_user_appl = appname;
}