1 /* bugreports.h -- explain how to report bugs
2 Copyright (C) 2016-2021 Free Software Foundation, Inc.
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17 /* Written by James Youngman <jay@gnu.org>.
18 */
19 #include <config.h>
20 #include <stdio.h>
21
22 #include "bugreports.h"
23 #include "system.h"
24
25 int
explain_how_to_report_bugs(FILE * f,const char * program_name)26 explain_how_to_report_bugs (FILE *f, const char *program_name)
27 {
28 return fprintf (f,_(""
29 "Please see also the documentation at %s.\n"
30 "You can report (and track progress on fixing) bugs in the \"%s\"\n"
31 "program via the %s bug-reporting page at\n"
32 "%s or, if\n"
33 "you have no web access, by sending email to <%s>.\n"),
34 PACKAGE_URL,
35 program_name,
36 PACKAGE_NAME,
37 PACKAGE_BUGREPORT_URL,
38 PACKAGE_BUGREPORT);
39 }
40