chiark / gitweb /
loginctl: add more --help sections
authorLennart Poettering <lennart@poettering.net>
Fri, 26 Dec 2014 19:09:21 +0000 (20:09 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 26 Dec 2014 19:12:40 +0000 (20:12 +0100)
src/login/loginctl.c

index 03abb75..8e5239c 100644 (file)
@@ -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"