5 #include "version-etc.h"
7 #define PROGRAM_NAME "true"
8 #define AUTHORS "no one"
10 /* The name this program was run with. */
17 Usage: %s [ignored command line arguments]\n\
19 Exit with a status code indicating success.\n\
21 These option names may not be abbreviated.\n\
23 --help display this help and exit\n\
24 --version output version information and exit\n\
26 , program_name
, program_name
);
27 puts (_("\nReport bugs to <bug-sh-utils@gnu.org>."));
32 main (int argc
, char **argv
)
34 program_name
= argv
[0];
35 setlocale (LC_ALL
, "");
36 bindtextdomain (PACKAGE
, LOCALEDIR
);
39 /* Recognize --help or --version only if it's the only command-line
40 argument and if POSIXLY_CORRECT is not set. */
41 if (argc
== 2 && getenv ("POSIXLY_CORRECT") == NULL
)
43 if (STREQ (argv
[1], "--help"))
46 if (STREQ (argv
[1], "--version"))
47 version_etc (stdout
, PROGRAM_NAME
, GNU_PACKAGE
, VERSION
, AUTHORS
);