| 1 |
#compdef systemd-tmpfiles |
| 2 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 3 |
|
| 4 |
_arguments \ |
| 5 |
'(- *)'{-h,--help}'[Show help]' \ |
| 6 |
'--user[Execute user configuration]' \ |
| 7 |
'(- *)--version[Show package version]' \ |
| 8 |
'(--tldr --dry-run)--cat-config[Show configuration files]' \ |
| 9 |
'(--cat-config --dry-run)--tldr[Show non-comment parts of configuration]' \ |
| 10 |
'--create[Create, set ownership/permissions based on the config files.]' \ |
| 11 |
'--clean[Clean up all files and directories with an age parameter configured.]' \ |
| 12 |
'--remove[All files and directories marked with r, R in the configuration files are removed.]' \ |
| 13 |
'--purge[Delete files and directories marked for creation in specified configuration files (careful!)]' \ |
| 14 |
'--boot[Execute actions only safe at boot]' \ |
| 15 |
'--graceful[Quietly ignore unknown users or groups]' \ |
| 16 |
'*--prefix=[Only apply rules that apply to paths with the specified prefix.]:PATH' \ |
| 17 |
'*--exclude-prefix=[Ignore rules that apply to paths with the specified prefix.]:PATH' \ |
| 18 |
'-E[Ignore rules prefixed with /dev, /proc, /run, /sys]' \ |
| 19 |
'--root=[Operate on an alternate filesystem root]:directory:_directories' \ |
| 20 |
'--image=[Operate on disk image as filesystem root]:image' \ |
| 21 |
'--image-policy=[Specify disk image dissection policy]:policy' \ |
| 22 |
'--replace=[Treat arguments as replacement for PATH]:PATH' \ |
| 23 |
'(--cat-config --tldr)--dry-run[Just print what would be done]' \ |
| 24 |
'--no-pager[Do not pipe output into a pager]' \ |
| 25 |
'*::files:_files -g "*.conf"' |