From 86e1f46f92ff4c447ea32a6892ea394c6e6ef541 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 9 Jan 2015 01:43:53 +0100 Subject: loginctl: make "loginctl session-status" without session ID show the caller's session status Similar for user-status and seat-status. --- man/loginctl.xml | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'man') diff --git a/man/loginctl.xml b/man/loginctl.xml index 7a6cc156d3..095ba056aa 100644 --- a/man/loginctl.xml +++ b/man/loginctl.xml @@ -209,16 +209,20 @@ - session-status ID... + session-status ID... Show terse runtime status information about one or more sessions, followed by the most recent - log data from the journal. This - function is intended to generate - human-readable output. If you are - looking for computer-parsable output, - use show-session + log data from the journal. Takes one + or more session identifiers as + parameters. If no session identifiers + are passed the status of the caller's + session is shown. This function is + intended to generate human-readable + output. If you are looking for + computer-parsable output, use + show-session instead. @@ -307,12 +311,16 @@ - user-status USER... + user-status USER... Show terse runtime status information about one or more logged in users, followed by the most - recent log data from the journal. This + recent log data from the + journal. Takes one or more user names + or numeric user IDs as parameters. If + no parameters are passed the status of + the caller's user is shown. This function is intended to generate human-readable output. If you are looking for computer-parsable output, @@ -390,12 +398,15 @@ - seat-status NAME... + seat-status NAME... Show terse runtime status information about one or more - seats. This function is - intended to generate human-readable + seats. Takes one or more seat names as + parameters. If no seat names are + passed the status of the caller's + session's seat is shown. This function + is intended to generate human-readable output. If you are looking for computer-parsable output, use show-seat -- cgit v1.2.3-54-g00ecf