summaryrefslogtreecommitdiff
path: root/shell-completion
AgeCommit message (Collapse)Author
2013-03-01journalctl: add --user-unit= switchDaniel Wallace
Add --user-unit= to make it possible to query for user logs by the name of the service.
2013-02-26bash-completion: journalctl query by binary and deviceZbigniew Jędrzejewski-Szmek
The approach taken is different between the two: - since there are many files in /usr, but messages appear only for a tiny subset, the completion is performed only for stuff shown by journalctl -F _EXE. This makes sense because the list is already in proper form. - since it is hard to convert _KERNEL_DEVICE to device file name, simply all files in /dev/ are used as possible completions. Unfortunately zsh completion requires more work and is not covered by this commit.
2013-02-13Move systemctl dot to systemd-analyze dotSimon Peeters
2013-01-04systemctl: add is-failedThomas Hindoe Paaboel Andersen
Adds is-failed to join is-active and is-enabled. I grabbed this one from the todo list. Most of the functionality was already there for is-active. I just needed to make check_one_unit take the states to check for as an argument instead of the hardcoded "active" and "reloading". is-failed will return 1 if none of the units given are failed. This is different from is-active which will return 3 if none of the units given are active. It returns 3 with this comment: /* According to LSB: "program is not running" */ As that does not make sense when looking for failed units I simply chose 1 instead.
2012-12-19zsh: add hibernate and hybrid-sleep to zsh-completionDaniel Wallace
2012-12-19bash-completion: update list of verbsDave Reisner
Add suspend, hibernate, hybrid-sleep
2012-12-03systemctl: fix typos in help textUmut Tezduyar
2012-11-24fix --full for journalctl zsh completionDaniel Wallace
2012-11-20shell-completion: udev - add net_idKay Sievers
2012-11-17journalctl: add option to forgo ellipsizationZbigniew Jędrzejewski-Szmek
Sometimes it is better to see messages in full, and the existing set of options didn't allow this easily. E.g. now journalctl -f --full will behave like tail -f /var/log/messages of yore. Long option only for now, since small letters are becoming scarce, and this doesn't feel like a capital-letter-option. '-u' would be nice, and the above command would be spelled journalctl -fu
2012-11-16shell-completion: add catalog optionsZbigniew Jędrzejewski-Szmek
2012-11-09bash-completion: add 'gdb' verb for coredumpctlDave Reisner
This also fixes value completion for journal fields, as the completion for the RHS of the '=' was missing when it was borrowed from journalctl.
2012-11-05add zsh completion for all the commandsDaniel Wallace
Most of the completion for systemctl and loginctl provided by Foudil Brétel
2012-11-03bash-completion > shell-completionKay Sievers