summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash/machinectl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bash-completion: localize words and cword variablesSibo Dong2021-04-061-1/+1
| | | | | | | | | | | | | | | | | 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.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* bash-completion: do not ellipsize machine nameYu Watanabe2020-01-101-1/+1
|
* shell-completion: use 4 space indentation tooZbigniew Jędrzejewski-Szmek2019-04-121-77/+77
| | | | The same as in other places, indentation levels were all over the place.
* bash-completion: machinectl: suggest arguments for --verify and --formatYu Watanabe2018-12-131-1/+7
| | | | | This also changes to use '--output=help' for suggesting arguments of --output option.
* bash-completion: machinectl: support import-fsYu Watanabe2018-12-131-1/+1
|
* journalctl: port JSON output mode to new JSON APILennart Poettering2018-10-111-1/+1
| | | | | | 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.
* tree-wide: drop copyright headers from frequent contributorsZbigniew Jędrzejewski-Szmek2018-06-201-1/+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
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
| | | | | | 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.
* bash-completion: machinectl: add missing options and verbsYu Watanabe2018-01-101-4/+15
|
* Add SPDX license headers to shell completion scriptsZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
|
* machinectl: Added stop as alias for poweroff (#3406)Christian Rebischke2016-06-061-1/+1
|
* importd: drop dkr supportLennart Poettering2015-12-101-1/+1
| | | | | | | | The current code is not compatible with current dkr protocols anyway, and dkr has a different focus ("microservices") than nspawn anyway ("whole machine containers"), hence drop support for it, we cannot reasonably keep this up to date, and it creates the impression we'd actually care for the microservices usecase.
* bash-completion: list valid signal namesEvgeny Vereshchagin2015-11-241-1/+2
| | | | this is a follow-up for commit 18540892d18addc4dcb81
* shell-completion: add pseudo machine ".host" to shell completionLennart Poettering2015-10-081-1/+1
|
* shell-completion: add "machinectl shell" to bash completion logicLennart Poettering2015-10-081-1/+1
|
* shell-completion: bash: make list-transfers and cancel-transfer STANDALONESeth Jennings2015-08-181-2/+2
| | | | list-transfers and cancel-transfers don't take machine arguments.
* shell-completion: bash: add image transfer subcommandsSeth Jennings2015-08-181-1/+1
|
* shell-completion: use list-images rather than listSeth Jennings2015-08-161-1/+2
| | | | | | | | "machinectl list" only lists running machines while many of the MACHINES commands use names of images; both running and non-running. List machines from both "list" and "list-images" and use sort -u to avoid duplicates.
* shell-completion: update machinectl bash completionSeth Jennings2015-08-161-2/+2
| | | | | Many new subcommands have been added since the bash completion was last updated. Bring it up to speed.
* machinectl: add bash completionThomas Hindoe Paaboel Andersen2014-02-181-0/+97