Yu Watanabe
23bedfbc32
bash-completion: busctl: add 'emit' command support
2019-02-06 13:30:53 +01:00
Yu Watanabe
f77bb3a3bd
bash-completion: udevadm: support recently added options
2019-01-18 16:10:01 +01:00
Zbigniew Jędrzejewski-Szmek
0e89eb474d
Merge pull request #10221 from lucaswerkmeister/bash-completion
...
Merged locally to resolve a conflict. The redirection of error is required to
suppress "# Not showing unlisted system calls, ...".
2018-12-18 14:53:58 +01:00
Yu Watanabe
1f7951241f
bash-completion: also suggests device units
...
Follow-up for b6854081ff .
2018-12-17 14:44:58 +09:00
Yu Watanabe
19582502c0
bash-completion: udevadm: suggest argument for several options
2018-12-17 14:44:00 +09:00
Yu Watanabe
d5acf7da91
bash-completion: fix __get_interfaces()
2018-12-17 11:13:15 +09:00
Zbigniew Jędrzejewski-Szmek
57db447ebf
Merge pull request #11147 from yuwata/bash-completion-machinectl
...
bash-completion: adds import-fs for machinectl and suggest more
2018-12-14 08:57:03 +01:00
Yu Watanabe
f675a1f005
bash-completion: busctl: support --json and -j option
2018-12-14 08:55:38 +01:00
Yu Watanabe
ff1cf894d2
bash-completion: nspawn: support recently added options
2018-12-14 03:18:33 +09:00
Yu Watanabe
223f58ba8d
bash-completion: run: support recently added options
2018-12-14 03:18:33 +09:00
Yu Watanabe
2e68a49dc8
bash-completion: systemctl: use --output=help to show suggestions
2018-12-14 02:33:21 +09:00
Yu Watanabe
fdc33681ae
bash-completion: journalctl: use --output=help to show suggestions
2018-12-14 02:33:21 +09:00
Yu Watanabe
d104486ab6
bash-completion: journalctl: drop deprecated --new-id128 option
2018-12-14 02:33:21 +09:00
Yu Watanabe
3b59e2cbed
bash-completion: loginctl: suggest argument for --machine option
2018-12-14 02:22:40 +09:00
Yu Watanabe
dfeebf55d9
bash-completion: loginctl: suggest argument for --output option
2018-12-14 02:18:35 +09:00
Yu Watanabe
fad73e9deb
bash-completion: machinectl: suggest arguments for --verify and --format
...
This also changes to use '--output=help' for suggesting arguments of
--output option.
2018-12-14 02:18:24 +09:00
Yu Watanabe
0e5bea97e9
bash-completion: machinectl: support import-fs
2018-12-14 01:52:48 +09:00
Yu Watanabe
a73b2f4ab3
bash-completion: bootctl: support set-default and set-oneshot
2018-12-14 01:26:52 +09:00
Yu Watanabe
ed0c5a6f89
bash-completion: bootctl: suggest argument for --path option
2018-12-14 01:26:25 +09:00
Yu Watanabe
8ed22786aa
bash-completion: bootctl: add one missing option
2018-12-14 01:25:31 +09:00
Yu Watanabe
83da42c3bf
bash-completion: analyze: support 'security'
2018-12-07 08:05:18 +01:00
Yu Watanabe
cb39201e72
bash-completion: analyze: add timespan
...
Follow-up for 3f1c1287a9 .
2018-10-23 22:28:42 +09:00
Lennart Poettering
8e04444385
journalctl: port JSON output mode to new JSON API
...
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.
2018-10-11 17:25:27 +02:00
Lucas Werkmeister
2431ca22bc
bash-completion: analyze: complete system call sets
2018-09-30 22:27:27 +02:00
Yu Watanabe
f28255e2d5
bash-completion: systemctl: re-implement __filter_units_by_properties()
...
This also unifies __filter_units_by_property() and
__filter_units_by_properties(), and makes completion for 'restart',
'reload' or 'stop' show more candidates.
2018-09-12 14:17:22 +09:00
Jan Pokorný
53956faf74
shell-completion: replace "gdb" verb with "debug" for coredumpctl
...
Also offer --debugger option. Both to reflect changes in v239.
2018-08-20 09:43:44 +02:00
Yu Watanabe
652e39a378
bash-completion: journalctl: add --grep and --case-sensitive
2018-08-08 15:26:38 +09:00
Jon Ringle
fbb48d4c66
Make final kill signal configurable
...
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
2018-07-23 13:44:54 +02:00
Yu Watanabe
cbed8ff5a1
meson: drop redundant messages
2018-07-10 23:24:39 -07:00
Zbigniew Jędrzejewski-Szmek
25612ecba4
tree-wide: drop copyright lines for more authors
...
Acks in https://github.com/systemd/systemd/issues/9320 .
2018-06-22 16:39:45 +02:00
Yu Watanabe
5c46878eda
bash-completion: support 'timedatectl show'
2018-06-21 10:47:51 +09:00
Zbigniew Jędrzejewski-Szmek
d9b02e1697
tree-wide: drop copyright headers from frequent contributors
...
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
2018-06-20 11:58:53 +02:00
Zbigniew Jędrzejewski-Szmek
0cd41d4dff
Drop my copyright headers
...
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'
2018-06-14 13:03:20 +02:00
Lennart Poettering
96b2fb93c5
tree-wide: beautify remaining copyright statements
...
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.
2018-06-14 10:20:21 +02:00
Iwan Timmer
c9299be2f5
resolve: rename PrivateDNS to DNSOverTLS
...
PrivateDNS is not considered a good name for this option, so rename it to DNSOverTLS
2018-06-14 09:57:56 +02:00
Zbigniew Jędrzejewski-Szmek
23949111c0
Merge pull request #8863 from evelikov/shell-completion-fixes
...
Shell completion fixes/perf improvements
2018-06-13 14:09:14 +02:00
Yu Watanabe
1a363edad1
bash-completion/resolvectl: support privatedns command
2018-06-13 11:16:26 +09:00
Emil Velikov
9b536b1af2
shell-completion: systemctl: do not list template units in {re,}start
...
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 >
2018-06-11 17:15:12 +01:00
Emil Velikov
98476dc8b2
shell-completion: systemctl: pass current word to all list_unit*
...
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 >
2018-06-11 17:09:58 +01:00
Emil Velikov
c839b729c5
bash-completion: systemctl: pass current partial unit to list-unit*
...
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 >
2018-06-11 17:09:55 +01:00
Emil Velikov
aedd48160f
bash-completion: systemctl: use systemctl --no-pager
...
Signed-off-by: Emil Velikov <emil.velikov@collabora.com >
2018-06-11 17:09:53 +01:00
Yu Watanabe
37e21077a3
bash-completion: add completion for portablectl
2018-05-28 18:15:06 +09:00
Yu Watanabe
aea447c9f8
bash-completion: also suggest template unit files
...
Fixes #9041 .
2018-05-28 18:15:00 +09:00
Yu Watanabe
4f150c407f
bash-completion: suggest bus properties instead of configuration items for 'systemctl -p'
...
Closes #5137 .
2018-05-28 18:13:52 +09:00
Luca Boccassi
49805b3d81
journalctl: add with-unit mode
...
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.
2018-05-25 14:45:34 +02:00
Lennart Poettering
6f8fa29465
Merge pull request #8981 from keszybz/ratelimit-and-dbus
...
Ratelimit renaming and dbus error message fix
2018-05-18 21:38:30 +02:00
Yu Watanabe
d231d569d8
bash-completion: add missing options and commands of timedatectl
...
Follow-up for 6129ec852e .
2018-05-15 10:52:45 +02:00
Zbigniew Jędrzejewski-Szmek
0887b0548b
bash-completion: redirect introspection errors to null
...
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.
2018-05-14 08:37:19 +02:00
Yu Watanabe
581ab53740
bash-completion: analyze: support cat-config verb
...
Follow-up for 854a42fb2e .
2018-05-11 04:11:56 +09:00
Yu Watanabe
7ee19d2643
bash-completion: analyze: add --no-pager for some verbs
2018-05-11 03:33:55 +09:00