aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 823d95296..08ee00d77 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -978,6 +978,15 @@
#define logger_example_usage \
"$ logger "hello"\n"
+#define login_trivial_usage \
+ "[OPTION]... [username] [ENV=VAR ...]"
+#define login_full_usage \
+ "Begin a new session on the system\n\n" \
+ "Options:\n" \
+ "\t-f\tDo not authenticate (user already authenticated)\n" \
+ "\t-h\tName of the remote host for this login.\n" \
+ "\t-p\tPreserve environment."
+
#define logname_trivial_usage \
""
#define logname_full_usage \
@@ -1570,6 +1579,13 @@
"\n\t-g\t\tprint in stty-readable form" \
"\n\t[SETTING]\tsee manpage"
+#define su_trivial_usage \
+ "[OPTION]... [-] [username]"
+#define su_full_usage \
+ "Change user id or become root.\n" \
+ "Options:\n" \
+ "\t-p\tPreserve environment"
+
#define swapoff_trivial_usage \
"[OPTION] [DEVICE]"
#define swapoff_full_usage \