From: Mike Yuan Date: Fri, 19 Jan 2024 15:01:42 +0000 (+0800) Subject: loginctl: add --json= and -j to help text X-Git-Tag: v256-rc1~1093 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=017f53e1920f70f3e336514cd3b96b3b75732fd9;p=thirdparty%2Fsystemd.git loginctl: add --json= and -j to help text Follow-up for ea54517476521a35fd10790664f2525a03c582b6 --- diff --git a/src/login/loginctl.c b/src/login/loginctl.c index b9c34cfc0f7..63253bd9dcf 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -1517,7 +1517,10 @@ static int help(int argc, char *argv[], void *userdata) { " --kill-whom=WHOM Whom to send signal to\n" " -s --signal=SIGNAL Which signal to send\n" " -n --lines=INTEGER Number of journal entries to show\n" - " -o --output=STRING Change journal output mode (short, short-precise,\n" + " --json=MODE Generate JSON output for list-sessions/users/seats\n" + " (takes one of pretty, short, or off)\n" + " -j Same as --json=pretty on tty, --json=short otherwise\n" + " -o --output=MODE Change journal output mode (short, short-precise,\n" " short-iso, short-iso-precise, short-full,\n" " short-monotonic, short-unix, short-delta,\n" " json, json-pretty, json-sse, json-seq, cat,\n"