summaryrefslogtreecommitdiffstats
path: root/bash-completion/logger
Commit message (Collapse)AuthorAgeFilesLines
* bash-completion: update misc-utilsSami Kerola2017-04-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fincore: Add RES column to --output completions. Commit: e4e8b57be2b63fed82647e4d5efd0e0eaf36b19e findfs: Commit: 940817b736bceccca9be6b9b73e4dd7da0d89142 logger: Add --socket-errors [1] and --tcp [2] options. Commit [1]: d77dc29e6e18d39b1845282e8039ac7117f3bd1c Commit [2]: 68265d070d3041d16ab074ba25c610d6ef6c842e lsblk: Add HOTPLUG [1], SERIAL [2], and SUBSYSTEMS [3] output fields. Add --json [4], --output-all [5], and --paths [6] options. Commit [1]: 483987c275e461f4118a89d3be013698845d702b Commit [2]: 460c7afb79075bd5b39e7d4bc153aa41c939bab3 Commit [3]: 7f14ee1b551e839a4ae081c8d2b7633ca40a5823 Commit [4]: 4a102a4871fdb415f4de5af9ffb7a2fb8926b5d1 Commit [5]: 1b4d2a4a4aa7df52033d293f26cd4fa79f95578d Commit [6]: c7e76cd145b0c40e1d346203f3222f5937146939 lslocks: Add --noinaccessible option. Remove file argument completion, this command does not use that sort of command line input. Commit: f29bc6e1cc4ed9f76bded543c6ab393f674ec3ed mcookie: Add --max-size option. Commit: f7bac5731bf559216aa2f0e8be1d7f477e7cf41a wipefs: Add --backup option. Commit: 7e658c15a2c1fc5092a790afbe7d9d395d04b098 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: update few options changed since v2.26Sami Kerola2015-08-031-1/+26
| | | | | | | | Attempt to find and update all changes to command line options that has not been reflected in bash-completion files in between versions v2.26 to v2.27-rc1. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* logger: add --skip-empty-lines to prevent logging empty linesRainer Gerhards2015-03-101-1/+1
| | | | | | | | | | | Empty log messages are generally considered useless. This option enables to turn them off when processing files (including stdin). [kzak@redhat.com: - rename --skip-empty-lines to --skip-empty, - add the option to getopt_long(), - add the option to bash-completion] Signed-off-by: Karel Zak <kzak@redhat.com>
* logger: permit to send messages larger than 1024 charactersRainer Gerhards2015-03-101-1/+1
| | | | | | | | | | | | | | | | | | This is an important capability that has been specified in RFC5424. However, messages larger than 1024 chars are being accepted for years now by at least rsyslog and syslog-ng. This patch adds the option --size to permit setting a new max size, with 1024 being the default. Note that the size limit is only approximative, as we do not take the header size in account (RFC talks about total message length). [[kzak@redhat.com: - add 'S' to getopt_long(), - rename --message-size to --size - add the option to bash-completion] Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: add logger protocol notes to manual pageSami Kerola2014-07-281-1/+1
| | | | | | | | Inform about rfc5424 support, how to control what it includes to submission, and that it is the new default when sending syslog messages to remote server without specifying protocol. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* logger: allow user to send structured journald messagesSami Kerola2014-03-041-2/+2
| | | | | | | | | | | | | This feature is hopefully mostly used to give MESSAGE_ID labels for messages coming from scripts, making search of messages easy. The logger(1) manual page update should give enough information how to use --journald option. [kzak@redhat.com: - add missing #ifdefs - use xalloc.h] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* bash-completion: use '\n' as IFS when ask for filenamesKarel Zak2013-09-301-0/+1
| | | | | | | | | | | | The bash completion for more(1) treats the space-separated pieces of filenames as different files. $ touch foo\ bar $ more foo<TAB> bar foo Reported-by: Ángel González <ingenit@zoho.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* bash-completion: Don't offer short options where corresponding long one exists.Ville Skyttä2013-04-081-1/+1
| | | | | | | | | Users who know the short options can just hit the short option instead of tab, and it's not likely that it would be helpful to present a list of single character options to users who don't know them, doing so just unnecessarily trashes the list of suggestions. Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: Avoid some unnecessary subshells.Ville Skyttä2013-04-081-1/+1
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: Don't offer any more completions after help or version.Ville Skyttä2013-04-081-0/+3
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: rename shell-completion -> bash-completionKarel Zak2013-04-051-0/+43
Signed-off-by: Karel Zak <kzak@redhat.com>