| 1489 | } |
| 1490 | |
| 1491 | void |
| 1492 | usage (int status) |
| 1493 | { |
| 1494 | if (status != EXIT_SUCCESS) |
| 1495 | emit_try_help (); |
| 1496 | else |
| 1497 | { |
| 1498 | printf (_("Usage: %s [OPTION]... [FILE]...\n"), program_name); |
| 1499 | fputs (_("\ |
| 1500 | Show information about the file system on which each FILE resides,\n\ |
| 1501 | or all file systems by default.\n\ |
| 1502 | "), stdout); |
| 1503 | |
| 1504 | emit_mandatory_arg_note (); |
| 1505 | |
| 1506 | /* TRANSLATORS: The thousands and decimal separators are best |
| 1507 | adjusted to an appropriate default for your locale. */ |
| 1508 | oputs (_("\ |
| 1509 | -a, --all\n\ |
| 1510 | include pseudo, duplicate, inaccessible file systems\n\ |
| 1511 | ")); |
| 1512 | oputs (_("\ |
| 1513 | -B, --block-size=SIZE\n\ |
| 1514 | scale sizes by SIZE before printing them; see SIZE format below;\n\ |
| 1515 | E.g., '-BM' prints sizes in units of 1,048,576 bytes\n\ |
| 1516 | ")); |
| 1517 | oputs (_("\ |
| 1518 | -h, --human-readable\n\ |
| 1519 | print sizes in powers of 1024 (e.g., 1023M)\n\ |
| 1520 | ")); |
| 1521 | oputs (_("\ |
| 1522 | -H, --si\n\ |
| 1523 | print sizes in powers of 1000 (e.g., 1.1G)\n\ |
| 1524 | ")); |
| 1525 | oputs (_("\ |
| 1526 | -i, --inodes\n\ |
| 1527 | list inode information instead of block usage\n\ |
| 1528 | ")); |
| 1529 | oputs (_("\ |
| 1530 | -k\n\ |
| 1531 | like --block-size=1K\n\ |
| 1532 | ")); |
| 1533 | oputs (_("\ |
| 1534 | -l, --local\n\ |
| 1535 | limit listing to local file systems\n\ |
| 1536 | ")); |
| 1537 | oputs (_("\ |
| 1538 | --no-sync\n\ |
| 1539 | do not invoke sync before getting usage info (default)\n\ |
| 1540 | ")); |
| 1541 | oputs (_("\ |
| 1542 | --output[=FIELD_LIST]\n\ |
| 1543 | use the output format defined by FIELD_LIST,\n\ |
| 1544 | or print all fields if FIELD_LIST is omitted\n\ |
| 1545 | ")); |
| 1546 | oputs (_("\ |
| 1547 | -P, --portability\n\ |
| 1548 | use the POSIX output format\n\ |
no test coverage detected