summaryrefslogtreecommitdiff
path: root/shell-completion
Commit message (Collapse)AuthorAgeFilesLines
...
* Clarify help information for --globalnerdopolis2021-06-101-1/+1
|
* shell-completion: udevadm: support --uuid optionYu Watanabe2021-06-042-2/+3
| | | | Follow-up for 730b9c1e1469dfd6d6850e9ea06da3cac469eba0.
* meson: use jinja2 in shell-completion/Zbigniew Jędrzejewski-Szmek2021-05-194-81/+83
|
* shell-completion: support --json option for hostnamectlYu Watanabe2021-05-142-2/+37
|
* networkctl: introduce --json option for "status" and "list" commandsYu Watanabe2021-05-142-1/+22
| | | | | | When `--json` option is specified, "status" and "list" commands gives the same information, as originally "list" just gives partial information of "status" in different format.
* bash: update shell completion for new nspawn optionLennart Poettering2021-05-071-4/+4
|
* hostnamectl: deprecate set-* methods and expose getters by only using nouns ↵Jakub Warczarek2021-05-032-18/+18
| | | | in commands
* shell-completion: use base.lst, not xorg.lstPeter Hutterer2021-04-201-1/+1
| | | | Since 2005 xorg.lst has been the legacy symlink to the real file base.lst.
* bash-completion: localize words and cword variablesSibo Dong2021-04-0611-11/+11
| | | | | | | | | | | | | | | | | The words and cword variables are not localized in all Bash completion scripts that call _init_completion. cur, prev, words, and cword (and split if using the -s flag) are all variables that should be localized in Bash completion scripts before calling _init_completion (even if they don't otherwise appear in the calling script). This is done for cur and prev, but not for words and cword. Letting words and cword remain unlocalized may clobber variables the user is using for other purposes, which is bad. This issue can be resolved by declaring words and cword as local variables. Resolves #19188.
* Introduce ExitTypeHenri Chain2021-03-312-2/+2
|
* shell-completion: systemd-run: add missing optionsYu Watanabe2021-03-222-26/+41
| | | | Closes #19044.
* udevadm-trigger: introduce --quiet optionYu Watanabe2021-02-212-1/+2
| | | | This may be useful to invoke the command by non-privileged users.
* shell-completion: complete --legend=no for resolvectl and systemctlZbigniew Jędrzejewski-Szmek2021-02-172-4/+4
| | | | | | I don't think it makes sense to complete --legend=yes. It is the default, and it would be only used very rarely (and then it is easy enough to just remove the '=no' part from the suggested string).
* portable: add 'reattach' verb and DBUS interfaceLuca Boccassi2021-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 'reattach' verb to portablectl, and corresponding DBUS interface to systemd-portabled. Takes the same parameters as 'attach', but it will do a 'detach' (and it will refuse to proceed if it cannot be done) first, matching on the unversioned prefix of the new image. Eg: portablectl reattach /tmp/foo_2.raw will cause foo_1.raw to be detached, and foo_2.raw to be attached. The key difference with a manual 'detach old' plus 'attach new' is that the running units are not disturbed until after the attach completed, and if --now is passed they are then restarted. A 'detach' is not allowed normally if the units are running. By using a restart-after-deploy method, 'reattach' allows for minimal interruption of service and also for features that only work on restart (eg: file descriptor store) to work as intended. The DBUS interface returns two lists: first the removals from the detach that were not immediately re-added in the attach, so that the caller can stop the relevant units, and then the list of additions that are either new or updates, so that the caller can restart/enable the relevant units. portablectl already implements this with the existing --now/--enable switches.
* bash-completion: loginctl: add -P optionYu Watanabe2021-02-111-2/+2
|
* bash-completion: coredumpctl: add --json and -n optionsYu Watanabe2021-02-111-1/+3
|
* systemctl: add new option to mount image inside a running service namespaceLuca Boccassi2021-01-212-1/+6
| | | | | Use the new DBUS method and follow the same pattern as the systemctl bind command.
* core: add DBUS method to bind mount new nodes without service restartLuca Boccassi2021-01-182-1/+6
| | | | | | | | | | | | | | Allow to setup new bind mounts for a service at runtime (via either DBUS or a new 'systemctl bind' verb) with a new helper that forks into the unit's mount namespace. Add a new integration test to cover this. Useful for zero-downtime addition to services that are running inside mount namespaces, especially when using RootImage/RootDirectory. If a service runs with a read-only root, a tmpfs is added on /run to ensure we can create the airlock directory for incoming mounts under /run/host/incoming.
* Added option --check-inhibitors for non-tty usageFelix Stupp2021-01-132-3/+13
| | | | | | | | | | | | | | As described in #2680, systemctl did ignore inhibitors if it is not attached to a tty to allow scripts to ignore inhibitors automatically. This pull request preserves this behavior but allows scripts to explicit check inhibitors if required. The new parameter '--check-inhibitors=yes' enables this feature. The old parameter '-i'/'--ignore-inhibitors' was deprecated in favor of '--check-inhibitors=no', the default behaviour can be specified with '--check-inhibitors=auto'. The new parameter is also described in the documentations and shell completions found here.
* shell-completion: fix systemctl set/unset/import-environmentZbigniew Jędrzejewski-Szmek2021-01-082-1/+15
| | | | | | unset-environment is completed with variable names in the environment block. set-environment the same, but suffixed with "=". import-environment is completed with variable names in the client environment.
* coredumpctl: Add --debugger-args= optionMichal Fabik2020-12-161-1/+2
| | | | | | | This commit adds the possibility to pass command line options to the debugger invoked with coredumpctl debug. Resolves: #9905
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-0954-54/+54
|
* shell-completion: add missing completions to meson.buildLucas Werkmeister2020-10-051-0/+2
| | | | | Completions for systemd-id128 and homectl have been available for a while, but weren’t being installed.
* zsh: loginctl: complete alias 'self'Ronan Pigott2020-09-301-0/+6
|
* zsh: add systemd-path completionsRonan Pigott2020-09-232-0/+9
|
* bash-completion: resolvectl: support 'log-level' commandYu Watanabe2020-09-041-0/+4
|
* add "list" verb to autocompleted commandsOlivier Le Moal2020-08-271-1/+1
|
* shell-completion/zsh: add missing verbs for networkctlOlivier Le Moal2020-08-261-13/+23
|
* zsh: correct journalctl command completion parsingRonan Pigott2020-08-251-2/+2
|
* systemctl: add --timestamp to change timestamp print formatLuca Boccassi2020-08-192-1/+12
| | | | | | | Timestamps for unit start/stop are recorded with microsecond granularity, but status and show truncate to second granularity by default. Add a --timestamp=pretty|us|utc option to allow including the microseconds or to use the UTC TZ to all timestamps printed by systemctl.
* homed: default to "btrfs" as fs type in the LUKS backendLennart Poettering2020-08-191-1/+1
| | | | | | | | | | | | | Apparently both Fedora and suse default to btrfs now, it should hence be good enough for us too. This enables a bunch of really nice things for us, most importanly we can resize home directories freely (i.e. both grow *and* shrink) while online. It also allows us to add nice subvolume based home directory snapshotting later on. Also, whenever we mention the three supported types, alaways mention them in alphabetical order, which is also our new order of preference.
* shell-completion: add missing verbs for networkctlYu Watanabe2020-06-301-2/+2
|
* dissect/nspawn: add support for dm-verity root hash signatureLuca Boccassi2020-06-251-1/+5
| | | | | | Since cryptsetup 2.3.0 a new API to verify dm-verity volumes by a pkcs7 signature, with the public key in the kernel keyring, is available. Use it if libcryptsetup supports it.
* shell-completion: add homectl for bashZbigniew Jędrzejewski-Szmek2020-06-052-1/+189
| | | | | The difference between verbs that take one user and multiple users is not handled. I don't know how to do this.
* shell-completions: update bootctlZbigniew Jędrzejewski-Szmek2020-05-302-3/+18
| | | | | Entries in the completion lists are reordered to follow --help output: this makes it much easier to see what is missing.
* Update resolvectl zsh completioncodicodi2020-05-211-5/+2
|
* shell-completion/zsh: update systemd-analyze completionsRonan Pigott2020-04-271-3/+20
|
* zsh: fix disable/enable completionHaochen Tong2020-04-271-1/+5
| | | | | | | The "preset" column introduced in b01c1f305c044a381ad110709a62507d74bf6d86 breaks zsh completion for systemctl disable/enable. Fix by ignoring everything after the last space in a line.
* systemctl: hide first column with --plain instead of --no-legendJouke Witteveen2020-04-178-8/+8
| | | | | | | | | | Hiding the first column, which may contain bullet circles, with --no-legend is undocumented and potentially unexpected. On the other hand, not printing bullet circles with --plain is documented so hiding the column with that switch is sensible. The combination "--full --no-legend --no-pager --plain" is appropriate for automated processing of systemctl output.
* Add `shell` to machinectl ZSH completionPieter Lexis2020-03-271-0/+1
|
* portablectl: add --now and --enable to attach/detachLuca Boccassi2020-02-071-1/+1
| | | | | | | | | Add shortcuts to enable and start, or disable and stop, portable services with a single portablectl command. Allow to pass a filter on detach, as it's necessary to call GetImageMetadata to get the unit names associated with an image. Fixes #10232
* bash-completion: do not ellipsize machine nameYu Watanabe2020-01-1012-12/+12
|
* bash-completion: busctrl: support --full command line optionYu Watanabe2020-01-101-2/+2
|
* bash-completion: networkctl: do not show ellipsized link nameYu Watanabe2020-01-101-1/+1
|
* bash-completion: networkctl: support --full and --linesYu Watanabe2020-01-091-2/+2
|
* zsh: Complete systemctl subcommands in separate tagsDaniel Shahaf2020-01-081-11/+17
| | | | Fixes #14422
* zsh: Prepare for classifying systemctl commands (#14422)Daniel Shahaf2019-12-231-3/+22
|
* zsh: Complete more systemctl commandsDaniel Shahaf2019-12-231-0/+8
| | | | The completion is now synced with the manual.
* zsh: Group systemctl subcommands as in the manual. No functional change.Daniel Shahaf2019-12-231-14/+27
|
* bash-completion: move shell-completion for log-level or friends to systemctlYu Watanabe2019-12-212-24/+9
|