loginctl: make session/user arguments optional for a number commands, and imply calling session/user instead

System Internals / systemd - Lennart Poettering [poettering.net] - 9 January 2015 14:30 UTC

This turns "lock-session", "activate", "unlock-session", "enable-linger", "disable-linger" into commands that take no argument, optionally in which case the callers session/user is implied.

906b76b loginctl: make session/user arguments optional for a number commands, and imply calling session/user instead
man/loginctl.xml | 30 +++++++++++++++++++++---------
src/login/loginctl.c | 44 +++++++++++++++++++++++++++++++-------------
2 files changed, 52 insertions(+), 22 deletions(-)

Upstream: github.com


  • Share