fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerFix extra or missing newlines at end of file in our fish scripts9c327b19a

master
3.8 KiB40 linesraw
1complete -c systemd-nspawn -s D -l directory -d 'Directory to use as file system root for the container' -r
2complete -c systemd-nspawn -l template -d 'Directory or btrfs subvolume to use as template' -r
3complete -c systemd-nspawn -s x -l ephemeral -d 'Run container with a temporary btrfs snapshot (Only on btrfs)'
4complete -c systemd-nspawn -s i -l image -d 'Disk image to mount the root directory for the container from' -r
5complete -c systemd-nspawn -s b -l boot -d 'Invoke init in the container'
6complete -c systemd-nspawn -s u -l user -d 'Change to user in the container' -x
7complete -c systemd-nspawn -s M -l machine -d 'Sets the machine name for this container' -x
8complete -c systemd-nspawn -l uuid -d 'Set the specified UUID for the container.'
9complete -c systemd-nspawn -l slice -d 'Make the container part of the specified slice'
10complete -c systemd-nspawn -l property -d 'Set a unit property on the scope unit'
11complete -c systemd-nspawn -l private-users -d 'Enables user namespacing'
12complete -c systemd-nspawn -l private-network -d 'Disconnect networking of the container from the host'
13complete -c systemd-nspawn -l network-interface -d 'Assign the specified network interface to the container' -x
14complete -c systemd-nspawn -l network-macvlan -d 'Create a "macvlan" interface of the specified Ethernet interface' -x
15complete -c systemd-nspawn -l network-ipvlan -d 'Create an "ipvlan" interface of the specified Ethernet interface' -x
16complete -c systemd-nspawn -s n -l network-veth -d 'Create a virtual Ethernet link ("veth") between host and container' -x
17complete -c systemd-nspawn -l network-bridge -d 'Adds the host side of the Ethernet link created to the specified bridge' -x
18complete -c systemd-nspawn -s p -l port -d 'Map an ip port from the host to the container' -x
19complete -c systemd-nspawn -s Z -l selinux-context -d 'Sets the SELinux security context'
20complete -c systemd-nspawn -s L -l selinux-apifs-context -d 'Sets the SELinux security context for files in the API filesystems'
21complete -c systemd-nspawn -l capability -d 'Grant additional capabilities to the container'
22complete -c systemd-nspawn -l drop-capability -d 'Drop capabilities from the container'
23complete -c systemd-nspawn -l kill-signal -d "Signal to send to the container's PID1 when nspawn receives SIGTERM"
24complete -c systemd-nspawn -l link-journal -d 'Set container journal visibility' -a 'no host try-host guest try-guest auto' -r
25complete -c systemd-nspawn -s j -d 'Equivalent to --link-journal=try-guest'
26complete -c systemd-nspawn -l read-only -d 'Mount the root file system read-only for the container'
27complete -c systemd-nspawn -l bind -l bind-ro -d 'Bind mount a file or directory from the host in the container' -r
28complete -c systemd-nspawn -l tmpfs -d 'Mount a tmpfs file system into the container' -r
29complete -c systemd-nspawn -l overlay -l overlay-ro -d 'Mount directories as overlayfs in the container' -r
30complete -c systemd-nspawn -l setenv -d 'Pass environment variables to init in the container'
31complete -c systemd-nspawn -l share-system -d 'Share the system with the host [See Man Page]'
32complete -c systemd-nspawn -l register -d 'Register container with systemd-machined' -a "yes no" -r
33complete -c systemd-nspawn -l keep-unit -d 'Only register the unit with systemd-machined'
34complete -c systemd-nspawn -l personality -d 'The architecture reported by uname in the container'
35complete -c systemd-nspawn -s q -l quiet -d 'Turns off any status output by the tool itself'
36complete -c systemd-nspawn -l volatile -d 'Boots the container in volatile mode'
37complete -c systemd-nspawn -s h -l help -d 'Print a short help text and exit'
38complete -c systemd-nspawn -l version -d 'Print a short version string and exit'
39# Not quite correct, but otherwise we'd need to get the machine root, and we can't always know that
40complete -c systemd-nspawn -n "__fish_not_contain_opt -s b boot" -a "(__fish_complete_subcommand)" -f