| 56 | }; |
| 57 | |
| 58 | void |
| 59 | usage (int status) |
| 60 | { |
| 61 | if (status != EXIT_SUCCESS) |
| 62 | emit_try_help (); |
| 63 | else |
| 64 | { |
| 65 | printf (_("Usage: %s [OPTION]...\n"), program_name); |
| 66 | fputs (_("\ |
| 67 | Print the file name of the terminal connected to standard input.\n\ |
| 68 | \n\ |
| 69 | "), stdout); |
| 70 | oputs (_("\ |
| 71 | -s, --silent, --quiet\n\ |
| 72 | print nothing, only return an exit status\n\ |
| 73 | ")); |
| 74 | oputs (HELP_OPTION_DESCRIPTION); |
| 75 | oputs (VERSION_OPTION_DESCRIPTION); |
| 76 | emit_ancillary_info (PROGRAM_NAME); |
| 77 | } |
| 78 | exit (status); |
| 79 | } |
| 80 | |
| 81 | int |
| 82 | main (int argc, char **argv) |
no test coverage detected