diff options
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index 08ee00d77..18593fb1d 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1321,6 +1321,24 @@ | |||
1321 | "Write an unambiguous representation, octal bytes by default, of FILE\n"\ | 1321 | "Write an unambiguous representation, octal bytes by default, of FILE\n"\ |
1322 | "to standard output. With no FILE, or when FILE is -, read standard input." | 1322 | "to standard output. With no FILE, or when FILE is -, read standard input." |
1323 | 1323 | ||
1324 | #ifdef CONFIG_FEATURE_SHA1_PASSWORDS | ||
1325 | #define PASSWORD_ALG_TYPES(a) a | ||
1326 | #else | ||
1327 | #define PASSWORD_ALG_TYPES(a) | ||
1328 | #endif | ||
1329 | #define passwd_trivial_usage \ | ||
1330 | "[OPTION] [name]" | ||
1331 | #define passwd_full_usage \ | ||
1332 | "CChange a user password. If no name is specified,\n" \ | ||
1333 | "changes the password for the current user.\n" \ | ||
1334 | "Options:\n" \ | ||
1335 | "\t-a\tDefine which algorithm shall be used for the password.\n" \ | ||
1336 | "\t\t\t(Choices: des, md5" \ | ||
1337 | CONFIG_FEATURE_SHA1_PASSWORDS(", sha1") \ | ||
1338 | ")\n\t-d\tDelete the password for the specified user account.\n" \ | ||
1339 | "\t-l\tLocks (disables) the specified user account.\n" \ | ||
1340 | "\t-u\tUnlocks (re-enables) the specified user account."; | ||
1341 | |||
1324 | #define pidof_trivial_usage \ | 1342 | #define pidof_trivial_usage \ |
1325 | "process-name [process-name ...]" | 1343 | "process-name [process-name ...]" |
1326 | #define pidof_full_usage \ | 1344 | #define pidof_full_usage \ |
@@ -1586,6 +1604,15 @@ | |||
1586 | "Options:\n" \ | 1604 | "Options:\n" \ |
1587 | "\t-p\tPreserve environment" | 1605 | "\t-p\tPreserve environment" |
1588 | 1606 | ||
1607 | #define sulogin_trivial_usage \ | ||
1608 | "[OPTION]... [tty-device]" | ||
1609 | #define sulogin_full_usage \ | ||
1610 | "Single user login\n" \ | ||
1611 | "Options:\n" \ | ||
1612 | "\t-f\tDo not authenticate (user already authenticated)\n" \ | ||
1613 | "\t-h\tName of the remote host for this login.\n" \ | ||
1614 | "\t-p\tPreserve environment." | ||
1615 | |||
1589 | #define swapoff_trivial_usage \ | 1616 | #define swapoff_trivial_usage \ |
1590 | "[OPTION] [DEVICE]" | 1617 | "[OPTION] [DEVICE]" |
1591 | #define swapoff_full_usage \ | 1618 | #define swapoff_full_usage \ |
@@ -1956,6 +1983,13 @@ | |||
1956 | "Options:\n" \ | 1983 | "Options:\n" \ |
1957 | "\t-R\tRead-only- do not write to the file." | 1984 | "\t-R\tRead-only- do not write to the file." |
1958 | 1985 | ||
1986 | #define vlock_trivial_usage \ | ||
1987 | "[OPTIONS]" | ||
1988 | #define vlock_full_usage \ | ||
1989 | "Lock a virtual terminal. A password is required to unlock\n" \ | ||
1990 | "Options:\n" \ | ||
1991 | "\t-a\tLock all VTs" | ||
1992 | |||
1959 | #define watchdog_trivial_usage \ | 1993 | #define watchdog_trivial_usage \ |
1960 | "DEV" | 1994 | "DEV" |
1961 | #define watchdog_full_usage \ | 1995 | #define watchdog_full_usage \ |