Mercurial > gnulib
annotate lib/version-etc.c @ 40196:e63f5d3edab5
relocatable-prog: Update documentation.
* doc/relocatable-maint.texi (Supporting Relocation): Update to match
the recent changes.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 24 Feb 2019 01:49:15 +0100 |
parents | b06060465f09 |
children |
rev | line source |
---|---|
11073
5d673ad5f710
version-etc: Add emit_bug_reporting_address.
Simon Josefsson <simon@josefsson.org>
parents:
10984
diff
changeset
|
1 /* Print --version and bug-reporting information in a consistent format. |
40057
b06060465f09
maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents:
40046
diff
changeset
|
2 Copyright (C) 1999-2019 Free Software Foundation, Inc. |
1754 | 3 |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
9084
diff
changeset
|
4 This program is free software: you can redistribute it and/or modify |
1754 | 5 it under the terms of the GNU General Public License as published by |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
9084
diff
changeset
|
6 the Free Software Foundation; either version 3 of the License, or |
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
9084
diff
changeset
|
7 (at your option) any later version. |
1754 | 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 | |
19190 | 15 along with this program. If not, see <https://www.gnu.org/licenses/>. */ |
1754 | 16 |
1941
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
17 /* Written by Jim Meyering. */ |
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
18 |
7302
8a1a9361108c
* _fpending.c: Include <config.h> unconditionally, since we no
Paul Eggert <eggert@cs.ucla.edu>
parents:
7048
diff
changeset
|
19 #include <config.h> |
1754 | 20 |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
21 /* Specification. */ |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
22 #include "version-etc.h" |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
23 |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
24 #include <stdarg.h> |
1754 | 25 #include <stdio.h> |
5318
7c24a825b51d
Remove dependencies on unlocked-io.
Paul Eggert <eggert@cs.ucla.edu>
parents:
5159
diff
changeset
|
26 |
7c24a825b51d
Remove dependencies on unlocked-io.
Paul Eggert <eggert@cs.ucla.edu>
parents:
5159
diff
changeset
|
27 #if USE_UNLOCKED_IO |
7c24a825b51d
Remove dependencies on unlocked-io.
Paul Eggert <eggert@cs.ucla.edu>
parents:
5159
diff
changeset
|
28 # include "unlocked-io.h" |
7c24a825b51d
Remove dependencies on unlocked-io.
Paul Eggert <eggert@cs.ucla.edu>
parents:
5159
diff
changeset
|
29 #endif |
1754 | 30 |
3966
22d3032f0239
Include gettext.h instead of <libintl.h> with #ifdefs.
Bruno Haible <bruno@clisp.org>
parents:
3692
diff
changeset
|
31 #include "gettext.h" |
22d3032f0239
Include gettext.h instead of <libintl.h> with #ifdefs.
Bruno Haible <bruno@clisp.org>
parents:
3692
diff
changeset
|
32 #define _(msgid) gettext (msgid) |
1754 | 33 |
12350
2ea8aa487297
version-etc: work also with AM_INIT_AUTOMAKE's no-define option
Andy Wingo <wingo@pobox.com>
parents:
12272
diff
changeset
|
34 /* If you use AM_INIT_AUTOMAKE's no-define option, |
2ea8aa487297
version-etc: work also with AM_INIT_AUTOMAKE's no-define option
Andy Wingo <wingo@pobox.com>
parents:
12272
diff
changeset
|
35 PACKAGE is not defined. Use PACKAGE_TARNAME instead. */ |
2ea8aa487297
version-etc: work also with AM_INIT_AUTOMAKE's no-define option
Andy Wingo <wingo@pobox.com>
parents:
12272
diff
changeset
|
36 #if ! defined PACKAGE && defined PACKAGE_TARNAME |
2ea8aa487297
version-etc: work also with AM_INIT_AUTOMAKE's no-define option
Andy Wingo <wingo@pobox.com>
parents:
12272
diff
changeset
|
37 # define PACKAGE PACKAGE_TARNAME |
2ea8aa487297
version-etc: work also with AM_INIT_AUTOMAKE's no-define option
Andy Wingo <wingo@pobox.com>
parents:
12272
diff
changeset
|
38 #endif |
2ea8aa487297
version-etc: work also with AM_INIT_AUTOMAKE's no-define option
Andy Wingo <wingo@pobox.com>
parents:
12272
diff
changeset
|
39 |
40057
b06060465f09
maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents:
40046
diff
changeset
|
40 enum { COPYRIGHT_YEAR = 2019 }; |
5985
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
41 |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
42 /* The three functions below display the --version information the |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
43 standard way. |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
44 |
11652
7c297f566e07
Fix inconsistencies in the previous commit.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11650
diff
changeset
|
45 If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
46 the program. The formats are therefore: |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
47 |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
48 PACKAGE VERSION |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
49 |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
50 or |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
51 |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
52 COMMAND_NAME (PACKAGE) VERSION. |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
53 |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
54 The functions differ in the way they are passed author names. */ |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
55 |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
56 /* Display the --version information the standard way. |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
57 |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
58 Author names are given in the array AUTHORS. N_AUTHORS is the |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
59 number of elements in the array. */ |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
60 void |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
61 version_etc_arn (FILE *stream, |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
62 const char *command_name, const char *package, |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
63 const char *version, |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
64 const char * const * authors, size_t n_authors) |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
65 { |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
66 if (command_name) |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
67 fprintf (stream, "%s (%s) %s\n", command_name, package, version); |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
68 else |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
69 fprintf (stream, "%s %s\n", package, version); |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
70 |
11603
95f56b9a5977
version-etc: extend for packagers
Mike Frysinger <vapier@gentoo.org>
parents:
11103
diff
changeset
|
71 #ifdef PACKAGE_PACKAGER |
95f56b9a5977
version-etc: extend for packagers
Mike Frysinger <vapier@gentoo.org>
parents:
11103
diff
changeset
|
72 # ifdef PACKAGE_PACKAGER_VERSION |
95f56b9a5977
version-etc: extend for packagers
Mike Frysinger <vapier@gentoo.org>
parents:
11103
diff
changeset
|
73 fprintf (stream, _("Packaged by %s (%s)\n"), PACKAGE_PACKAGER, |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
74 PACKAGE_PACKAGER_VERSION); |
11603
95f56b9a5977
version-etc: extend for packagers
Mike Frysinger <vapier@gentoo.org>
parents:
11103
diff
changeset
|
75 # else |
95f56b9a5977
version-etc: extend for packagers
Mike Frysinger <vapier@gentoo.org>
parents:
11103
diff
changeset
|
76 fprintf (stream, _("Packaged by %s\n"), PACKAGE_PACKAGER); |
95f56b9a5977
version-etc: extend for packagers
Mike Frysinger <vapier@gentoo.org>
parents:
11103
diff
changeset
|
77 # endif |
95f56b9a5977
version-etc: extend for packagers
Mike Frysinger <vapier@gentoo.org>
parents:
11103
diff
changeset
|
78 #endif |
95f56b9a5977
version-etc: extend for packagers
Mike Frysinger <vapier@gentoo.org>
parents:
11103
diff
changeset
|
79 |
5985
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
80 /* TRANSLATORS: Translate "(C)" to the copyright symbol |
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
81 (C-in-a-circle), if this symbol is available in the user's |
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
82 locale. Otherwise, do not translate "(C)"; leave it as-is. */ |
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
83 fprintf (stream, version_etc_copyright, _("(C)"), COPYRIGHT_YEAR); |
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
84 |
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
85 fputs (_("\ |
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
86 \n\ |
19190 | 87 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.\n\ |
8502
299eb748632a
* lib/version-etc.c (version_etc_va): Update license wording to
Eric Blake <ebb9@byu.net>
parents:
7769
diff
changeset
|
88 This is free software: you are free to change and redistribute it.\n\ |
5985
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
89 There is NO WARRANTY, to the extent permitted by law.\n\ |
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
90 \n\ |
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
91 "), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
92 stream); |
5985
d2208bf40bf8
* version-etc-fsf.c (version_etc_copyright): Parameterize the
Paul Eggert <eggert@cs.ucla.edu>
parents:
5848
diff
changeset
|
93 |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
94 switch (n_authors) |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
95 { |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
96 case 0: |
40046
cc26384787bc
version-etc: allow zero authors
Paul Eggert <eggert@cs.ucla.edu>
parents:
19485
diff
changeset
|
97 /* No authors are given. The caller should output authorship |
cc26384787bc
version-etc: allow zero authors
Paul Eggert <eggert@cs.ucla.edu>
parents:
19485
diff
changeset
|
98 info after calling this function. */ |
cc26384787bc
version-etc: allow zero authors
Paul Eggert <eggert@cs.ucla.edu>
parents:
19485
diff
changeset
|
99 break; |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
100 case 1: |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
101 /* TRANSLATORS: %s denotes an author name. */ |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
102 fprintf (stream, _("Written by %s.\n"), authors[0]); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
103 break; |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
104 case 2: |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
105 /* TRANSLATORS: Each %s denotes an author name. */ |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
106 fprintf (stream, _("Written by %s and %s.\n"), authors[0], authors[1]); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
107 break; |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
108 case 3: |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
109 /* TRANSLATORS: Each %s denotes an author name. */ |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
110 fprintf (stream, _("Written by %s, %s, and %s.\n"), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
111 authors[0], authors[1], authors[2]); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
112 break; |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
113 case 4: |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
114 /* TRANSLATORS: Each %s denotes an author name. |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
115 You can use line breaks, estimating that each author name occupies |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
116 ca. 16 screen columns and that a screen line has ca. 80 columns. */ |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
117 fprintf (stream, _("Written by %s, %s, %s,\nand %s.\n"), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
118 authors[0], authors[1], authors[2], authors[3]); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
119 break; |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
120 case 5: |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
121 /* TRANSLATORS: Each %s denotes an author name. |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
122 You can use line breaks, estimating that each author name occupies |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
123 ca. 16 screen columns and that a screen line has ca. 80 columns. */ |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
124 fprintf (stream, _("Written by %s, %s, %s,\n%s, and %s.\n"), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
125 authors[0], authors[1], authors[2], authors[3], authors[4]); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
126 break; |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
127 case 6: |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
128 /* TRANSLATORS: Each %s denotes an author name. |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
129 You can use line breaks, estimating that each author name occupies |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
130 ca. 16 screen columns and that a screen line has ca. 80 columns. */ |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
131 fprintf (stream, _("Written by %s, %s, %s,\n%s, %s, and %s.\n"), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
132 authors[0], authors[1], authors[2], authors[3], authors[4], |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
133 authors[5]); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
134 break; |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
135 case 7: |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
136 /* TRANSLATORS: Each %s denotes an author name. |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
137 You can use line breaks, estimating that each author name occupies |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
138 ca. 16 screen columns and that a screen line has ca. 80 columns. */ |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
139 fprintf (stream, _("Written by %s, %s, %s,\n%s, %s, %s, and %s.\n"), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
140 authors[0], authors[1], authors[2], authors[3], authors[4], |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
141 authors[5], authors[6]); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
142 break; |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
143 case 8: |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
144 /* TRANSLATORS: Each %s denotes an author name. |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
145 You can use line breaks, estimating that each author name occupies |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
146 ca. 16 screen columns and that a screen line has ca. 80 columns. */ |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
147 fprintf (stream, _("\ |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
148 Written by %s, %s, %s,\n%s, %s, %s, %s,\nand %s.\n"), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
149 authors[0], authors[1], authors[2], authors[3], authors[4], |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
150 authors[5], authors[6], authors[7]); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
151 break; |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
152 case 9: |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
153 /* TRANSLATORS: Each %s denotes an author name. |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
154 You can use line breaks, estimating that each author name occupies |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
155 ca. 16 screen columns and that a screen line has ca. 80 columns. */ |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
156 fprintf (stream, _("\ |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
157 Written by %s, %s, %s,\n%s, %s, %s, %s,\n%s, and %s.\n"), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
158 authors[0], authors[1], authors[2], authors[3], authors[4], |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
159 authors[5], authors[6], authors[7], authors[8]); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
160 break; |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
161 default: |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
162 /* 10 or more authors. Use an abbreviation, since the human reader |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
163 will probably not want to read the entire list anyway. */ |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
164 /* TRANSLATORS: Each %s denotes an author name. |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
165 You can use line breaks, estimating that each author name occupies |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
166 ca. 16 screen columns and that a screen line has ca. 80 columns. */ |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
167 fprintf (stream, _("\ |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
168 Written by %s, %s, %s,\n%s, %s, %s, %s,\n%s, %s, and others.\n"), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
169 authors[0], authors[1], authors[2], authors[3], authors[4], |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
170 authors[5], authors[6], authors[7], authors[8]); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
171 break; |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
172 } |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
173 } |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
174 |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
175 /* Display the --version information the standard way. See the initial |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
176 comment to this module, for more information. |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
177 |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
178 Author names are given in the NULL-terminated array AUTHORS. */ |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
179 void |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
180 version_etc_ar (FILE *stream, |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
181 const char *command_name, const char *package, |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
182 const char *version, const char * const * authors) |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
183 { |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
184 size_t n_authors; |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
185 |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
186 for (n_authors = 0; authors[n_authors]; n_authors++) |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
187 ; |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
188 version_etc_arn (stream, command_name, package, version, authors, n_authors); |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
189 } |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
190 |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
191 /* Display the --version information the standard way. See the initial |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
192 comment to this module, for more information. |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
193 |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
194 Author names are given in the NULL-terminated va_list AUTHORS. */ |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
195 void |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
196 version_etc_va (FILE *stream, |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
197 const char *command_name, const char *package, |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
198 const char *version, va_list authors) |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
199 { |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
200 size_t n_authors; |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
201 const char *authtab[10]; |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
202 |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
203 for (n_authors = 0; |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
204 n_authors < 10 |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
205 && (authtab[n_authors] = va_arg (authors, const char *)) != NULL; |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
206 n_authors++) |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
207 ; |
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
208 version_etc_arn (stream, command_name, package, version, |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
209 authtab, n_authors); |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
210 } |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
211 |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
212 |
1941
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
213 /* Display the --version information the standard way. |
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
214 |
11652
7c297f566e07
Fix inconsistencies in the previous commit.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11650
diff
changeset
|
215 If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of |
1941
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
216 the program. The formats are therefore: |
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
217 |
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
218 PACKAGE VERSION |
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
219 |
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
220 or |
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
221 |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
222 COMMAND_NAME (PACKAGE) VERSION. |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
223 |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
224 The authors names are passed as separate arguments, with an additional |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
225 NULL argument at the end. */ |
1754 | 226 void |
227 version_etc (FILE *stream, | |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
228 const char *command_name, const char *package, |
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
229 const char *version, /* const char *author1, ...*/ ...) |
1754 | 230 { |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
231 va_list authors; |
1941
0e058c7494a6
(version_etc_copyright): Default copyright string.
Jim Meyering <jim@meyering.net>
parents:
1842
diff
changeset
|
232 |
4771
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
233 va_start (authors, version); |
ffc6ac581833
Merge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible <bruno@clisp.org>
parents:
4133
diff
changeset
|
234 version_etc_va (stream, command_name, package, version, authors); |
11650
7b211eff2192
Provide additional interfaces and documentation for version-etc module.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
11603
diff
changeset
|
235 va_end (authors); |
1754 | 236 } |
11073
5d673ad5f710
version-etc: Add emit_bug_reporting_address.
Simon Josefsson <simon@josefsson.org>
parents:
10984
diff
changeset
|
237 |
5d673ad5f710
version-etc: Add emit_bug_reporting_address.
Simon Josefsson <simon@josefsson.org>
parents:
10984
diff
changeset
|
238 void |
5d673ad5f710
version-etc: Add emit_bug_reporting_address.
Simon Josefsson <simon@josefsson.org>
parents:
10984
diff
changeset
|
239 emit_bug_reporting_address (void) |
5d673ad5f710
version-etc: Add emit_bug_reporting_address.
Simon Josefsson <simon@josefsson.org>
parents:
10984
diff
changeset
|
240 { |
5d673ad5f710
version-etc: Add emit_bug_reporting_address.
Simon Josefsson <simon@josefsson.org>
parents:
10984
diff
changeset
|
241 /* TRANSLATORS: The placeholder indicates the bug-reporting address |
5d673ad5f710
version-etc: Add emit_bug_reporting_address.
Simon Josefsson <simon@josefsson.org>
parents:
10984
diff
changeset
|
242 for this package. Please add _another line_ saying |
5d673ad5f710
version-etc: Add emit_bug_reporting_address.
Simon Josefsson <simon@josefsson.org>
parents:
10984
diff
changeset
|
243 "Report translation bugs to <...>\n" with the address for translation |
5d673ad5f710
version-etc: Add emit_bug_reporting_address.
Simon Josefsson <simon@josefsson.org>
parents:
10984
diff
changeset
|
244 bugs (typically your translation team's web or email address). */ |
12272
1660263d2a54
version-etc: match standards.texi style
Eric Blake <ebb9@byu.net>
parents:
11655
diff
changeset
|
245 printf (_("\nReport bugs to: %s\n"), PACKAGE_BUGREPORT); |
11603
95f56b9a5977
version-etc: extend for packagers
Mike Frysinger <vapier@gentoo.org>
parents:
11103
diff
changeset
|
246 #ifdef PACKAGE_PACKAGER_BUG_REPORTS |
12272
1660263d2a54
version-etc: match standards.texi style
Eric Blake <ebb9@byu.net>
parents:
11655
diff
changeset
|
247 printf (_("Report %s bugs to: %s\n"), PACKAGE_PACKAGER, |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
248 PACKAGE_PACKAGER_BUG_REPORTS); |
11603
95f56b9a5977
version-etc: extend for packagers
Mike Frysinger <vapier@gentoo.org>
parents:
11103
diff
changeset
|
249 #endif |
12272
1660263d2a54
version-etc: match standards.texi style
Eric Blake <ebb9@byu.net>
parents:
11655
diff
changeset
|
250 #ifdef PACKAGE_URL |
1660263d2a54
version-etc: match standards.texi style
Eric Blake <ebb9@byu.net>
parents:
11655
diff
changeset
|
251 printf (_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL); |
1660263d2a54
version-etc: match standards.texi style
Eric Blake <ebb9@byu.net>
parents:
11655
diff
changeset
|
252 #else |
19190 | 253 printf (_("%s home page: <https://www.gnu.org/software/%s/>\n"), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
254 PACKAGE_NAME, PACKAGE); |
12272
1660263d2a54
version-etc: match standards.texi style
Eric Blake <ebb9@byu.net>
parents:
11655
diff
changeset
|
255 #endif |
19190 | 256 fputs (_("General help using GNU software: <https://www.gnu.org/gethelp/>\n"), |
12421
e8d2c6fc33ad
Use spaces for indentation, not tabs.
Bruno Haible <bruno@clisp.org>
parents:
12350
diff
changeset
|
257 stdout); |
11073
5d673ad5f710
version-etc: Add emit_bug_reporting_address.
Simon Josefsson <simon@josefsson.org>
parents:
10984
diff
changeset
|
258 } |