| 412 | } |
| 413 | |
| 414 | void |
| 415 | usage (int status) |
| 416 | { |
| 417 | if (status != EXIT_SUCCESS) |
| 418 | emit_try_help (); |
| 419 | else |
| 420 | { |
| 421 | printf (_("\ |
| 422 | Usage: %s [OPTION]... [FILE]...\n\ |
| 423 | or: %s [OPTION]... --files0-from=F\n\ |
| 424 | "), |
| 425 | program_name, program_name); |
| 426 | fputs (_("\ |
| 427 | Write sorted concatenation of all FILE(s) to standard output.\n\ |
| 428 | "), stdout); |
| 429 | |
| 430 | emit_stdin_note (); |
| 431 | emit_mandatory_arg_note (); |
| 432 | |
| 433 | fputs (_("\ |
| 434 | Ordering options:\n\ |
| 435 | \n\ |
| 436 | "), stdout); |
| 437 | oputs (_("\ |
| 438 | -b, --ignore-leading-blanks\n\ |
| 439 | ignore leading blanks when finding sort keys in each line\n\ |
| 440 | ")); |
| 441 | oputs (_("\ |
| 442 | -d, --dictionary-order\n\ |
| 443 | consider only blanks and alphanumeric characters\n\ |
| 444 | ")); |
| 445 | oputs (_("\ |
| 446 | -f, --ignore-case\n\ |
| 447 | fold lower case to upper case characters\n\ |
| 448 | ")); |
| 449 | oputs (_("\ |
| 450 | -g, --general-numeric-sort\n\ |
| 451 | compare according to general numerical value\n\ |
| 452 | ")); |
| 453 | oputs (_("\ |
| 454 | -i, --ignore-nonprinting\n\ |
| 455 | consider only printable characters\n\ |
| 456 | ")); |
| 457 | oputs (_("\ |
| 458 | -M, --month-sort\n\ |
| 459 | compare (unknown) < 'JAN' < ... < 'DEC'\n\ |
| 460 | ")); |
| 461 | oputs (_("\ |
| 462 | -h, --human-numeric-sort\n\ |
| 463 | compare human readable numbers (e.g., 2K 1G)\n\ |
| 464 | ")); |
| 465 | oputs (_("\ |
| 466 | -n, --numeric-sort\n\ |
| 467 | compare according to string numerical value;\n\ |
| 468 | see full documentation for supported strings\n\ |
| 469 | ")); |
| 470 | oputs (_("\ |
| 471 | -R, --random-sort\n\ |
no test coverage detected