| 53 | }; |
| 54 | |
| 55 | void |
| 56 | usage (int status) |
| 57 | { |
| 58 | if (status != EXIT_SUCCESS) |
| 59 | emit_try_help (); |
| 60 | else |
| 61 | { |
| 62 | printf (_("\ |
| 63 | Usage: %s [OPTION] [VARIABLE]...\n\ |
| 64 | Print the values of the specified environment VARIABLE(s).\n\ |
| 65 | If no VARIABLE is specified, print name and value pairs for them all.\n\ |
| 66 | \n\ |
| 67 | "), |
| 68 | program_name); |
| 69 | oputs (_("\ |
| 70 | -0, --null\n\ |
| 71 | end each output line with NUL, not newline\n\ |
| 72 | ")); |
| 73 | oputs (HELP_OPTION_DESCRIPTION); |
| 74 | oputs (VERSION_OPTION_DESCRIPTION); |
| 75 | printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); |
| 76 | emit_ancillary_info (PROGRAM_NAME); |
| 77 | } |
| 78 | exit (status); |
| 79 | } |
| 80 | |
| 81 | int |
| 82 | main (int argc, char **argv) |
no test coverage detected