diff options
Diffstat (limited to 'include/usage.h')
| -rw-r--r-- | include/usage.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index e98e8b97c..fde6bbe76 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -1430,6 +1430,11 @@ | |||
| 1430 | "\ty\tAllow write access to your terminal.\n" \ | 1430 | "\ty\tAllow write access to your terminal.\n" \ |
| 1431 | "\tn\tDisallow write access to your terminal.\n" | 1431 | "\tn\tDisallow write access to your terminal.\n" |
| 1432 | 1432 | ||
| 1433 | #define minit_trivial_usage \ | ||
| 1434 | "[-spPrRC]" | ||
| 1435 | #define minit_full_usage \ | ||
| 1436 | "[-spPrRC]" | ||
| 1437 | |||
| 1433 | #define mkdir_trivial_usage \ | 1438 | #define mkdir_trivial_usage \ |
| 1434 | "[OPTION] DIRECTORY..." | 1439 | "[OPTION] DIRECTORY..." |
| 1435 | #define mkdir_full_usage \ | 1440 | #define mkdir_full_usage \ |
| @@ -1559,6 +1564,25 @@ | |||
| 1559 | "$ mount /dev/fd0 /mnt -t msdos -o ro\n" \ | 1564 | "$ mount /dev/fd0 /mnt -t msdos -o ro\n" \ |
| 1560 | "$ mount /tmp/diskimage /opt -t ext2 -o loop\n" | 1565 | "$ mount /tmp/diskimage /opt -t ext2 -o loop\n" |
| 1561 | 1566 | ||
| 1567 | #define msvc_trivial_usage \ | ||
| 1568 | "-[udorspchaitkx] service" | ||
| 1569 | #define msvc_full_usafe \ | ||
| 1570 | "[option] service\n" \ | ||
| 1571 | "Where option is one of\n" \ | ||
| 1572 | "\t-u\tUp. If the service is not running, start it. If the service stops, restart it.\n" \ | ||
| 1573 | "\t-d\tDown. If the service is running, stop it, do not restart it.\n" \ | ||
| 1574 | "\t-o\tOnce. If the service is not running, start it. Do not restart it if it stops.\n" \ | ||
| 1575 | "\t-r\tTell supervise that the service is normally running; this affects status messages.\n" \ | ||
| 1576 | "\t-s\tTell supervise that the service is normally stopped; this affects status messages.\n" \ | ||
| 1577 | "\t-p\tPause. Send the service a STOP signal.\n" \ | ||
| 1578 | "\t-c\tContinue. Send the service a CONT signal.\n" \ | ||
| 1579 | "\t-h\tHangup. Send the service a HUP signal.\n" \ | ||
| 1580 | "\t-a\tAlarm. Send the service an ALRM signal.\n" \ | ||
| 1581 | "\t-i\tInterrupt. Send the service an INT signal.\n" \ | ||
| 1582 | "\t-t\tTerminate. Send the service a TERM signal.\n" \ | ||
| 1583 | "\t-k\tKill. Send the service a KILL signal.\n" \ | ||
| 1584 | "\t-x\tExit. supervise will quit as soon as the service is down.\n" | ||
| 1585 | |||
| 1562 | #define mt_trivial_usage \ | 1586 | #define mt_trivial_usage \ |
| 1563 | "[-f device] opcode value" | 1587 | "[-f device] opcode value" |
| 1564 | #define mt_full_usage \ | 1588 | #define mt_full_usage \ |
| @@ -1666,6 +1690,11 @@ | |||
| 1666 | "\t-l\tLocks (disables) the specified user account.\n" \ | 1690 | "\t-l\tLocks (disables) the specified user account.\n" \ |
| 1667 | "\t-u\tUnlocks (re-enables) the specified user account." | 1691 | "\t-u\tUnlocks (re-enables) the specified user account." |
| 1668 | 1692 | ||
| 1693 | #define pidfilehack_trivial_usage \ | ||
| 1694 | "[daemon.pid] [daemon]" | ||
| 1695 | #define pidfilehack_full_usage \ | ||
| 1696 | "service /var/run/daemon.pid /usr/sbin/daemon args...\n" | ||
| 1697 | |||
| 1669 | #define pidof_trivial_usage \ | 1698 | #define pidof_trivial_usage \ |
| 1670 | "process-name [process-name ...]" | 1699 | "process-name [process-name ...]" |
| 1671 | #define pidof_full_usage \ | 1700 | #define pidof_full_usage \ |
