diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-26 20:09:21 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-26 20:12:40 +0100 |
commit | 2520f939bae6c26425d6737fd2e285c28b9f49c8 (patch) | |
tree | 9ac8403ada91ef1d547e1300fa4f843e9f41153c /src/login | |
parent | fefdc04b38725457a91651218feb7000f6ccc1f4 (diff) |
loginctl: add more --help sections
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/loginctl.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 03abb7594f..8e5239c1f8 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -1052,7 +1052,7 @@ static void help(void) { " -l --full Do not ellipsize output\n" " --kill-who=WHO Who to send signal to\n" " -s --signal=SIGNAL Which signal to send\n\n" - "Commands:\n" + "Session Commands:\n" " list-sessions List sessions\n" " session-status ID... Show session status\n" " show-session [ID...] Show properties of sessions or the manager\n" @@ -1062,14 +1062,16 @@ static void help(void) { " lock-sessions Screen lock all current sessions\n" " unlock-sessions Screen unlock all current sessions\n" " terminate-session ID... Terminate one or more sessions\n" - " kill-session ID... Send signal to processes of a session\n" + " kill-session ID... Send signal to processes of a session\n\n" + "User Commands:\n" " list-users List users\n" " user-status USER... Show user status\n" " show-user [USER...] Show properties of users or the manager\n" " enable-linger USER... Enable linger state of one or more users\n" " disable-linger USER... Disable linger state of one or more users\n" " terminate-user USER... Terminate all sessions of one or more users\n" - " kill-user USER... Send signal to processes of a user\n" + " kill-user USER... Send signal to processes of a user\n\n" + "Seat Commands:\n" " list-seats List seats\n" " seat-status NAME... Show seat status\n" " show-seat NAME... Show properties of one or more seats\n" |