diff options
author | Daniel Albers <daniel@lbe.rs> | 2013-06-17 11:36:35 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-06-17 10:33:34 -0400 |
commit | 98a6e132b5b85999f7e3dce158e826ffeecc1553 (patch) | |
tree | b9ad6b4626fc52027eaa004a3c89bb37fd6f3c40 /src/login | |
parent | fa3868c6d317b88715c55422b898f9070afe6575 (diff) |
journalctl,loginctl,systemctl,systemd-cgls: add -l as alias for --full
https://bugs.freedesktop.org/show_bug.cgi?id=65850
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/loginctl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/login/loginctl.c b/src/login/loginctl.c index b09aa37ff8..087e52d503 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -1297,7 +1297,7 @@ static int help(void) { " -p --property=NAME Show only properties by this name\n" " -a --all Show all properties, including empty ones\n" " --kill-who=WHO Who to send signal to\n" - " --full Do not ellipsize output\n" + " -l --full Do not ellipsize output\n" " -s --signal=SIGNAL Which signal to send\n" " --no-ask-password Don't prompt for password\n" " -H --host=[USER@]HOST Show information for remote host\n" @@ -1339,7 +1339,6 @@ static int parse_argv(int argc, char *argv[]) { ARG_NO_PAGER, ARG_KILL_WHO, ARG_NO_ASK_PASSWORD, - ARG_FULL, }; static const struct option options[] = { @@ -1353,7 +1352,7 @@ static int parse_argv(int argc, char *argv[]) { { "host", required_argument, NULL, 'H' }, { "privileged", no_argument, NULL, 'P' }, { "no-ask-password", no_argument, NULL, ARG_NO_ASK_PASSWORD }, - { "full", no_argument, NULL, ARG_FULL }, + { "full", no_argument, NULL, 'l' }, { NULL, 0, NULL, 0 } }; @@ -1425,7 +1424,7 @@ static int parse_argv(int argc, char *argv[]) { parse_user_at_host(optarg, &arg_user, &arg_host); break; - case ARG_FULL: + case 'l': arg_full = true; break; |