shitbox/pkg/usr/share/nu/completions/umount.nu

19 lines
974 B
Plaintext

module completions {
# unmount filesystems
export extern umount [
--all(-a) # All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.
--force(-f) # Force an unmount (in case of an unreachable NFS system).
--lazy(-l) # Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.
-n # Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability.
--types(-t): string # Indicate that the actions should only be taken on filesystems of the specified type.
--verbose(-v) # output a diagnostic for every file processed
...spec: string
--help(-h) # Print help (see more with '--help')
--version(-V) # Print version
]
}
use completions *