mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-04 01:45:23 +08:00
Added completions for rmmod (#3007)
(cherry picked from commit 59c8800c4d0c77d8f6490f47b78e9465aaa474e4)
This commit is contained in:
parent
4efd0dfd65
commit
4d1e77fcae
8
share/completions/rmmod.fish
Normal file
8
share/completions/rmmod.fish
Normal file
@ -0,0 +1,8 @@
|
||||
# rmmod completion
|
||||
complete -c rmmod -x -a "(/sbin/lsmod | awk 'NR > 1 {print \$1}')"
|
||||
|
||||
complete -c rmmod -s h -l help -d "Prints the help text."
|
||||
complete -c rmmod -s s -l syslog -d "Send errors to syslog instead of standard error."
|
||||
complete -c rmmod -s v -l verbose -d "Print messages about what the program is doing."
|
||||
complete -c rmmod -s V -l version -d "Show version of program and exit"
|
||||
complete -c rmmod -s f -l force -d "With this option, you can remove modules which are being used, or which are not designed to be removed, or have been marked as unsafe"
|
Loading…
x
Reference in New Issue
Block a user