mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
c839b729c5
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> |
||
---|---|---|
.. | ||
bootctl | ||
busctl | ||
coredumpctl | ||
hostnamectl | ||
journalctl | ||
kernel-install | ||
localectl | ||
loginctl | ||
machinectl | ||
meson.build | ||
networkctl | ||
portablectl | ||
resolvectl | ||
systemctl.in | ||
systemd-analyze | ||
systemd-cat | ||
systemd-cgls | ||
systemd-cgtop | ||
systemd-delta | ||
systemd-detect-virt | ||
systemd-nspawn | ||
systemd-path | ||
systemd-resolve | ||
systemd-run | ||
timedatectl | ||
udevadm |