diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-14 19:14:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 19:14:11 +0100 |
commit | fb4819f137b7c1c6def5c4ee6255436ea8c613f5 (patch) | |
tree | 9c4f72fb8e003976b0f4e511a8f675a0cf38a319 | |
parent | 4ec426b9750350e06e52ff8f67aedb6c1514f8b9 (diff) | |
parent | 5badf05f39cdf2807b3b99ee8a499058056a0361 (diff) |
Merge pull request #5346 from namhyung/coredump-reverse
Update for coredumpctl -r option
-rw-r--r-- | man/coredumpctl.xml | 8 | ||||
-rw-r--r-- | shell-completion/bash/coredumpctl | 3 | ||||
-rw-r--r-- | shell-completion/zsh/_coredumpctl | 1 |
3 files changed, 11 insertions, 1 deletions
diff --git a/man/coredumpctl.xml b/man/coredumpctl.xml index abc245be5e..72a244d2eb 100644 --- a/man/coredumpctl.xml +++ b/man/coredumpctl.xml @@ -92,6 +92,14 @@ </varlistentry> <varlistentry> + <term><option>-r</option></term> + <term><option>--reverse</option></term> + + <listitem><para>Reverse output so that the newest entries are displayed first. + </para></listitem> + </varlistentry> + + <varlistentry> <term><option>-F</option> <replaceable>FIELD</replaceable></term> <term><option>--field=</option><replaceable>FIELD</replaceable></term> diff --git a/shell-completion/bash/coredumpctl b/shell-completion/bash/coredumpctl index 6091677506..d34f89e2bb 100644 --- a/shell-completion/bash/coredumpctl +++ b/shell-completion/bash/coredumpctl @@ -37,7 +37,8 @@ __journal_fields=(MESSAGE{,_ID} PRIORITY CODE_{FILE,LINE,FUNC} _coredumpctl() { local i verb comps local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} - local OPTS='-h --help --version --no-pager --no-legend -o --output -F --field -1' + local OPTS='-h --help --version --no-pager --no-legend -o --output -F --field -1 + -r --reverse' local -A VERBS=( [LIST]='list' diff --git a/shell-completion/zsh/_coredumpctl b/shell-completion/zsh/_coredumpctl index e4c04a697f..64b44c1214 100644 --- a/shell-completion/zsh/_coredumpctl +++ b/shell-completion/zsh/_coredumpctl @@ -32,6 +32,7 @@ _arguments \ {-o+,--output=}'[Write output to FILE]:output file:_files' \ {-F+,--field=}'[Show field in list output]:field' \ '-1[Show information about most recent entry only]' \ + {-r,--reverse}'[Show the newest entries first]' \ '--no-pager[Do not pipe output into a pager]' \ '--no-legend[Do not print the column headers]' \ {-h,--help}'[Show this help]' \ |