aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #10221 from lucaswerkmeister/bash-completionZbigniew Jędrzejewski-Szmek2018-12-181-0/+11
|\ | | | | | | | | Merged locally to resolve a conflict. The redirection of error is required to suppress "# Not showing unlisted system calls, ...".
| * bash-completion: analyze: complete system call setsLucas Werkmeister2018-09-301-0/+11
| |
* | bash-completion: also suggests device unitsYu Watanabe2018-12-171-2/+7
| | | | | | | | Follow-up for b6854081ffb26c32a8d1440346f9ee5b9d2f1e57.
* | bash-completion: udevadm: suggest argument for several optionsYu Watanabe2018-12-171-19/+152
| |
* | bash-completion: fix __get_interfaces()Yu Watanabe2018-12-173-7/+7
| |
* | Merge pull request #11147 from yuwata/bash-completion-machinectlZbigniew Jędrzejewski-Szmek2018-12-146-11/+69
|\ \ | | | | | | bash-completion: adds import-fs for machinectl and suggest more
| * | bash-completion: nspawn: support recently added optionsYu Watanabe2018-12-141-3/+32
| | |
| * | bash-completion: run: support recently added optionsYu Watanabe2018-12-141-2/+14
| | |
| * | bash-completion: systemctl: use --output=help to show suggestionsYu Watanabe2018-12-141-2/+1
| | |
| * | bash-completion: journalctl: use --output=help to show suggestionsYu Watanabe2018-12-141-1/+1
| | |
| * | bash-completion: journalctl: drop deprecated --new-id128 optionYu Watanabe2018-12-141-1/+1
| | |
| * | bash-completion: loginctl: suggest argument for --machine optionYu Watanabe2018-12-141-0/+9
| | |
| * | bash-completion: loginctl: suggest argument for --output optionYu Watanabe2018-12-141-0/+3
| | |
| * | bash-completion: machinectl: suggest arguments for --verify and --formatYu Watanabe2018-12-141-1/+7
| | | | | | | | | | | | | | | This also changes to use '--output=help' for suggesting arguments of --output option.
| * | bash-completion: machinectl: support import-fsYu Watanabe2018-12-141-1/+1
| | |
* | | bash-completion: busctl: support --json and -j optionYu Watanabe2018-12-141-2/+6
| | |
* | | bash-completion: bootctl: support set-default and set-oneshotYu Watanabe2018-12-141-0/+20
| | |
* | | bash-completion: bootctl: suggest argument for --path optionYu Watanabe2018-12-141-0/+15
| | |
* | | bash-completion: bootctl: add one missing optionYu Watanabe2018-12-141-1/+1
|/ /
* | bash-completion: analyze: support 'security'Yu Watanabe2018-12-071-1/+19
| |
* | bash-completion: analyze: add timespanYu Watanabe2018-10-231-1/+1
| | | | | | | | Follow-up for 3f1c1287a96dfc146ce894bd6bfff388cba0ab55.
* | journalctl: port JSON output mode to new JSON APILennart Poettering2018-10-113-3/+3
|/ | | | | | Also, while we are at it, beef it up, by adding json-seq support (i.e. https://tools.ietf.org/html/rfc7464). This is particularly useful in conjunction with jq's --seq switch.
* bash-completion: systemctl: re-implement __filter_units_by_properties()Yu Watanabe2018-09-121-49/+58
| | | | | | This also unifies __filter_units_by_property() and __filter_units_by_properties(), and makes completion for 'restart', 'reload' or 'stop' show more candidates.
* shell-completion: replace "gdb" verb with "debug" for coredumpctlJan Pokorný2018-08-201-3/+7
| | | | Also offer --debugger option. Both to reflect changes in v239.
* bash-completion: journalctl: add --grep and --case-sensitiveYu Watanabe2018-08-081-2/+5
|
* Make final kill signal configurableJon Ringle2018-07-231-2/+2
| | | | | | Usecase is to allow changing the final kill from SIGKILL to SIGQUIT which should create a core dump useful for debugging why the service didn't stop with the SIGTERM
* meson: drop redundant messagesYu Watanabe2018-07-101-2/+0
|
* tree-wide: drop copyright lines for more authorsZbigniew Jędrzejewski-Szmek2018-06-222-2/+0
| | | | Acks in https://github.com/systemd/systemd/issues/9320.
* bash-completion: support 'timedatectl show'Yu Watanabe2018-06-211-1/+1
|
* tree-wide: drop copyright headers from frequent contributorsZbigniew Jędrzejewski-Szmek2018-06-2012-12/+0
| | | | | | | | Fixes #9320. for p in Shapovalov Chevalier Rozhkov Sievers Mack Herrmann Schmidt Rudenberg Sahani Landden Andersen Watanabe; do git grep -e 'Copyright.*'$p -l|xargs perl -i -0pe 's|/([*][*])?[*]\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\s*[*]([*][*])?/\n*|\n|gms; s|\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\n*|\n|gms' done
* Drop my copyright headersZbigniew Jędrzejewski-Szmek2018-06-144-8/+0
| | | | | | | perl -i -0pe 's/\s*Copyright © .... Zbigniew Jędrzejewski.*?\n/\n/gms' man/*xml git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/(#\n)?# +Copyright © [0-9, -]+ Zbigniew Jędrzejewski.*?\n//gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s*\/\*\*\*\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*?\s*\*\*\*\/\s*/\n\n/gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*//gms'
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-1423-26/+26
| | | | | | Let's unify an beautify our remaining copyright statements, with a unicode ©. This means our copyright statements are now always formatted the same way. Yay.
* resolve: rename PrivateDNS to DNSOverTLSIwan Timmer2018-06-142-7/+7
| | | PrivateDNS is not considered a good name for this option, so rename it to DNSOverTLS
* Merge pull request #8863 from evelikov/shell-completion-fixesZbigniew Jędrzejewski-Szmek2018-06-131-34/+32
|\ | | | | Shell completion fixes/perf improvements
| * shell-completion: systemctl: do not list template units in {re,}startEmil Velikov2018-06-111-4/+2
| | | | | | | | | | | | | | | | | | | | Template units lacking DefaultInstance cannot be enabled/disabled or started/restarted. By adding DefaultInstance the unit can be enabled/disabled but it still cannot be started/restarted. Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
| * shell-completion: systemctl: pass current word to all list_unit*Emil Velikov2018-06-111-9/+9
| | | | | | | | | | | | | | | | Earlier patch added the current word to the performance critical paths. Here we add it to every place, for consistency sake. Suggested-by: Yu Watanabe (yuwata) Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
| * bash-completion: systemctl: pass current partial unit to list-unit*Emil Velikov2018-06-111-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass the partial name of the unit file to list-unit-files and list-units. This allows for faster completion, since systemctl does not need to list all the unit files. For reference: - time systemctl list-unit-files -> ~200ms - time systemctl list-unit-files netctl* -> ~15ms - time systemctl list-units -> ~5ms - time systemctl list-units netctl* -> ~5ms While the list-units time itself is unaffected, now a shorter list is produced. Thus as we pass it to `systemctl show' (via __filter_units_by_properties) the execution time will be decreased even further. v2: Update list-units hunk in commit message, add quotes around $2* v3: Remove funky indentation, quote all $cur instances Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
| * bash-completion: systemctl: use systemctl --no-pagerEmil Velikov2018-06-111-1/+1
| | | | | | | | Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
* | bash-completion/resolvectl: support privatedns commandYu Watanabe2018-06-132-1/+22
|/
* bash-completion: add completion for portablectlYu Watanabe2018-05-282-1/+115
|
* bash-completion: also suggest template unit filesYu Watanabe2018-05-281-1/+8
| | | | Fixes #9041.
* bash-completion: suggest bus properties instead of configuration items for ↵Yu Watanabe2018-05-281-7/+2
| | | | | | 'systemctl -p' Closes #5137.
* journalctl: add with-unit modeLuca Boccassi2018-05-251-1/+1
| | | | | | | | | | When dealing with a large number of template instances, for example when launching daemons per VRF, it is hard for operators to correlate log lines to arguments. Add a new with-unit mode which, if available, prefixes unit and user unit names when displaying its log messages instead of the syslog identifier. It will also use the full timestamp with timezones, like the short-full mode.
* Merge pull request #8981 from keszybz/ratelimit-and-dbusLennart Poettering2018-05-181-6/+13
|\ | | | | Ratelimit renaming and dbus error message fix
| * bash-completion: redirect introspection errors to nullZbigniew Jędrzejewski-Szmek2018-05-141-6/+13
| | | | | | | | | | If completion is attempted on an invalid path, busctl might respond with an error. This shouldn't be seen, introspection is supposed to just fail silently.
* | bash-completion: add missing options and commands of timedatectlYu Watanabe2018-05-151-2/+3
|/ | | | Follow-up for 6129ec852ee470a3682d55f87852ee7ccabb5520.
* bash-completion: analyze: support cat-config verbYu Watanabe2018-05-111-1/+18
| | | | Follow-up for 854a42fb2e9db1b9eaa381559d7671f2e9b3a0f1.
* bash-completion: analyze: add --no-pager for some verbsYu Watanabe2018-05-111-3/+3
|
* bash-completion: add completion for resolvectlYu Watanabe2018-04-192-0/+166
|
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-062-26/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.