mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Add some missing journalctl completions (#6989)
This commit is contained in:
parent
76bbcb9804
commit
bb458c7186
1 changed files with 35 additions and 2 deletions
|
@ -34,7 +34,7 @@ complete -c journalctl -f -s a -l all -d 'Show all fields in full'
|
|||
complete -c journalctl -f -s f -l follow -d 'Show live tail of entries'
|
||||
complete -c journalctl -f -s n -l lines -d 'Controls the number of journal lines'
|
||||
complete -c journalctl -f -l no-tail -d 'Show all lines, even in follow mode'
|
||||
complete -c journalctl -f -s o -l output -d 'Controls the formatting' -xa 'short short-monotonic verbose export json json-pretty json-sse cat'
|
||||
complete -c journalctl -f -s o -l output -d 'Controls the formatting' -xa '(printf %s\t\n (journalctl --output=help))'
|
||||
complete -c journalctl -f -s q -l quiet -d 'Suppress warning about normal user'
|
||||
complete -c journalctl -f -s m -l merge -d 'Show entries interleaved from all journals'
|
||||
|
||||
|
@ -45,7 +45,7 @@ complete -c journalctl -f -s p -l priority -d 'Filter by priority' -xa 'emerg 0
|
|||
complete -c journalctl -f -s c -l cursor -d 'Start from the passing cursor'
|
||||
complete -c journalctl -f -l since -d 'Entries on or newer than DATE' -xa 'yesterday today tomorrow now'
|
||||
complete -c journalctl -f -l until -d 'Entries on or older than DATE' -xa 'yesterday today tomorrow now'
|
||||
complete -c journalctl -f -s F -l field -d 'Print all possible data values'
|
||||
complete -c journalctl -f -s F -l field -d 'Print all possible data values of FIELD' -xa '(printf %s\t\n (journalctl --fields))'
|
||||
complete -c journalctl -f -s D -l directory -d 'Specify journal directory' -xa "(__fish_complete_directories)"
|
||||
complete -c journalctl -f -l new-id128 -d 'Generate a new 128 bit ID'
|
||||
complete -c journalctl -f -l header -d 'Show internal header information'
|
||||
|
@ -54,3 +54,36 @@ complete -c journalctl -f -l setup-keys -d 'Generate Forward Secure Sealing key
|
|||
complete -c journalctl -f -l interval -d 'Change interval for the sealing'
|
||||
complete -c journalctl -f -l verify -d 'Check journal for internal consistency'
|
||||
complete -c journalctl -f -l verify-key -d 'Specifies FSS key for --verify'
|
||||
complete -c journalctl -f -s r -l reverse -d "Reverse output to show newest entries first"
|
||||
complete -c journalctl -f -l utc -d "Express time in Coordinated Universal Time (UTC)"
|
||||
complete -c journalctl -f -l no-hostname -d "Don't show the hostname field"
|
||||
complete -c journalctl -f -s x -l catalog -d "Augment log lines with explanation texts from the message catalog"
|
||||
complete -c journalctl -f -l list-boots -d "Show a list of boot numbers, their IDs and timestamps"
|
||||
complete -c journalctl -f -s k -l dmesg -d "Show only kernel messages"
|
||||
complete -c journalctl -f -s N -l fields -d "Print all field names used in all entries of the journal"
|
||||
complete -c journalctl -f -l update-catalog -d "Update the message catalog index"
|
||||
complete -c journalctl -f -l sync -d "Write all unwritten journal data and sync journals"
|
||||
complete -c journalctl -f -l flush -d "Flush log data from /run/log/journal/ into /var/log/journal/"
|
||||
complete -c journalctl -f -l relinquish-var -d "Write to /run/log/journal/ instead of /var/log/journal/"
|
||||
complete -c journalctl -f -l smart-relinquish-var -d "Similar to --relinquish-var"
|
||||
complete -c journalctl -f -l rotate -d "Mark active journal files as archived and create new empty ones"
|
||||
complete -c journalctl -f -l output-fields -d "List of fields to be included in the output"
|
||||
complete -c journalctl -f -s t -l identifier -d "Show messages for specified syslog identifier" -xa '(printf %s\t\n (journalctl -F SYSLOG_IDENTIFIER))'
|
||||
complete -c journalctl -f -l user-unit -d "Show messages for the specified user session unit" -xa '(printf %s\t\n (journalctl -F _SYSTEMD_USER_UNIT))'
|
||||
complete -c journalctl -f -l facility -d "Filter output by syslog facility"
|
||||
complete -c journalctl -f -s g -l grep -d "Show entries where MESSAGE field matches regex"
|
||||
complete -c journalctl -f -l case-sensitive -d "Toggle pattern matching case sensitivity"
|
||||
complete -c journalctl -F -l cursor-file -d "Load cursor from file or save to file, if missing"
|
||||
complete -c journalctl -f -l after-cursor -d "Show entries after the passed cursor"
|
||||
complete -c journalctl -f -l show-cursor -d "Show cursor after the last entry"
|
||||
complete -c journalctl -f -l user -d "Show messages from service of current user"
|
||||
complete -c journalctl -f -l system -d "Show messages from system services and the kernel"
|
||||
complete -c journalctl -f -s M -l machine -d "Show messages from a running, local container"
|
||||
complete -c journalctl -f -l file -d "Operate only on journal files matching glob"
|
||||
complete -c journalctl -f -l root -d "Use specified directory instead of the root directory" -xa "(__fish_complete_directories)"
|
||||
complete -c journalctl -f -l namespace -d "Show log data of specified namespace"
|
||||
complete -c journalctl -f -l vacuum-size -d "Reduce disk usage below specified SIZE"
|
||||
complete -c journalctl -f -l vacuum-time -d "Remove journal files older than TIME"
|
||||
complete -c journalctl -f -l vacuum-files -d "Leave only INT number of journal files"
|
||||
complete -c journalctl -f -l list-catalog -d "Show message catalog entries as a table"
|
||||
complete -c journalctl -f -l dump-catalog -d "Show message catalog entries"
|
||||
|
|
Loading…
Reference in a new issue