Use PACKAGE_BUGREPORT instead of a literal string
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 12 Sep 2020 17:31:58 +0000 (19:31 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 12 Sep 2020 18:09:51 +0000 (20:09 +0200)
tests/data/datasheet-test.c
tests/libpspp/sparse-xarray-test.c

index 87ac1b9a1644e582e73d0f985cc25dbe58843ad1..1310f51337234783e9ffd5b0752a87493c69da98 100644 (file)
@@ -855,10 +855,9 @@ usage (void)
           "                       other values are string widths (0,1,11)\n",
           program_name, program_name);
   mc_options_usage ();
-  fputs ("\nOther options:\n"
-         "  --help               Display this help message\n"
-         "\nReport bugs to <bug-gnu-pspp@gnu.org>\n",
-         stdout);
+  printf ("\nOther options:\n"
+          "  --help               Display this help message\n"
+          "\nReport bugs to <%s>\n", PACKAGE_BUGREPORT);
   exit (0);
 }
 
index 5354211230d0fd670791185d885044a930e80d8a..47b338a65d2ee1dbee00b909326bce13e4b25ee4 100644 (file)
@@ -472,10 +472,9 @@ usage (void)
           "  --no-copy-columns    Do not copy column ranges in an xarray\n",
           program_name, program_name);
   mc_options_usage ();
-  fputs ("\nOther options:\n"
+  printf ("\nOther options:\n"
          "  --help               Display this help message\n"
-         "\nReport bugs to <bug-gnu-pspp@gnu.org>\n",
-         stdout);
+          "\nReport bugs to <%s>\n", PACKAGE_BUGREPORT);
   exit (0);
 }
 \f