| 444 | } |
| 445 | |
| 446 | void |
| 447 | usage (int status) |
| 448 | { |
| 449 | if (status != EXIT_SUCCESS) |
| 450 | emit_try_help (); |
| 451 | else |
| 452 | { |
| 453 | printf (_("\ |
| 454 | Usage: %s [OPTION]... [FILE]...\n\ |
| 455 | "), |
| 456 | program_name); |
| 457 | fputs (_("\ |
| 458 | Write lines consisting of the sequentially corresponding lines from\n\ |
| 459 | each FILE, separated by TABs, to standard output.\n\ |
| 460 | The newline of every line except the line from the last file\n\ |
| 461 | is replaced with a TAB.\n\ |
| 462 | "), stdout); |
| 463 | |
| 464 | emit_stdin_note (); |
| 465 | emit_mandatory_arg_note (); |
| 466 | |
| 467 | oputs (_("\ |
| 468 | -d, --delimiters=LIST\n\ |
| 469 | reuse characters from LIST instead of TABs;\n\ |
| 470 | backslash escapes are supported\n\ |
| 471 | ")); |
| 472 | oputs (_("\ |
| 473 | -s, --serial\n\ |
| 474 | paste one file at a time instead of in parallel; the newline of\n\ |
| 475 | every line except the last line in each file is replaced with a TAB\ |
| 476 | \n\ |
| 477 | ")); |
| 478 | oputs (_("\ |
| 479 | -z, --zero-terminated\n\ |
| 480 | line delimiter is NUL, not newline\n\ |
| 481 | ")); |
| 482 | oputs (HELP_OPTION_DESCRIPTION); |
| 483 | oputs (VERSION_OPTION_DESCRIPTION); |
| 484 | /* FIXME: add a couple of examples. */ |
| 485 | emit_ancillary_info (PROGRAM_NAME); |
| 486 | } |
| 487 | exit (status); |
| 488 | } |
| 489 | |
| 490 | int |
| 491 | main (int argc, char **argv) |
no test coverage detected