| 70 | }; |
| 71 | |
| 72 | void |
| 73 | usage (int status) |
| 74 | { |
| 75 | if (status != EXIT_SUCCESS) |
| 76 | emit_try_help (); |
| 77 | else |
| 78 | { |
| 79 | printf (_("\ |
| 80 | Usage: %s [OPTION]... [FILE]...\n\ |
| 81 | "), |
| 82 | program_name); |
| 83 | fputs (_("\ |
| 84 | Convert blanks in each FILE to tabs, writing to standard output.\n\ |
| 85 | "), stdout); |
| 86 | |
| 87 | emit_stdin_note (); |
| 88 | emit_mandatory_arg_note (); |
| 89 | |
| 90 | oputs (_("\ |
| 91 | -a, --all\n\ |
| 92 | convert all blanks, instead of just initial blanks\n\ |
| 93 | ")); |
| 94 | oputs (_("\ |
| 95 | --first-only\n\ |
| 96 | convert only leading sequences of blanks (overrides -a)\n\ |
| 97 | ")); |
| 98 | oputs (_("\ |
| 99 | -t, --tabs=N\n\ |
| 100 | have tabs N characters apart instead of 8 (enables -a)\n\ |
| 101 | ")); |
| 102 | emit_tab_list_info (PROGRAM_NAME); |
| 103 | oputs (HELP_OPTION_DESCRIPTION); |
| 104 | oputs (VERSION_OPTION_DESCRIPTION); |
| 105 | emit_ancillary_info (PROGRAM_NAME); |
| 106 | } |
| 107 | exit (status); |
| 108 | } |
| 109 | |
| 110 | /* Change blanks to tabs, writing to stdout. |
| 111 | Read each file in 'file_list', in order. */ |
no test coverage detected