[systemd-commits] 2 commits - shell-completion/bash shell-completion/zsh src/systemctl
Ronny Chevalier
rchevalier at kemper.freedesktop.org
Fri Jan 9 04:57:15 PST 2015
shell-completion/bash/journalctl | 2 +-
shell-completion/zsh/_sd_outputmodes | 2 +-
src/systemctl/systemctl.c | 5 +++--
3 files changed, 5 insertions(+), 4 deletions(-)
New commits:
commit 86d81e502bf7f923e4bb9c30de85f04e3497c839
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Fri Jan 9 13:54:19 2015 +0100
systemctl: add missing output modes to help message
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 3121428..d57b577 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -6035,8 +6035,9 @@ static void systemctl_help(void) {
" or only disable\n"
" --root=PATH Enable unit files in the specified root directory\n"
" -n --lines=INTEGER Number of journal entries to show\n"
- " -o --output=STRING Change journal output mode (short, short-monotonic,\n"
- " verbose, export, json, json-pretty, json-sse, cat)\n"
+ " -o --output=STRING Change journal output mode (short, short-iso,\n"
+ " short-precise, short-monotonic, verbose,\n"
+ " export, json, json-pretty, json-sse, cat)\n"
" --plain Print unit dependencies as a list instead of a tree\n\n"
"Unit Commands:\n"
" list-units [PATTERN...] List loaded units\n"
commit e4e5a85f34db9b18a5ae84a659fcdaf7e494dec1
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Fri Jan 9 13:53:23 2015 +0100
shell-completion: add missing output modes
https://bugs.freedesktop.org/show_bug.cgi?id=88216
diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl
index 14dcd22..2efa100 100644
--- a/shell-completion/bash/journalctl
+++ b/shell-completion/bash/journalctl
@@ -65,7 +65,7 @@ _journalctl() {
compopt -o filenames
;;
--output|-o)
- comps='short short-monotonic verbose export json cat'
+ comps='short short-iso short-precise short-monotonic verbose export json json-pretty json-sse cat'
;;
--field|-F)
comps=${__journal_fields[*]}
diff --git a/shell-completion/zsh/_sd_outputmodes b/shell-completion/zsh/_sd_outputmodes
index dae8a5c..2ce84a7 100644
--- a/shell-completion/zsh/_sd_outputmodes
+++ b/shell-completion/zsh/_sd_outputmodes
@@ -1,5 +1,5 @@
#autoload
local -a _output_opts
-_output_opts=(short short-monotonic verbose export json json-pretty json-see cat)
+_output_opts=(short short-iso short-precise short-monotonic verbose export json json-pretty json-see cat)
_describe -t output 'output mode' _output_opts || compadd "$@"
More information about the systemd-commits
mailing list