aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions
diff options
context:
space:
mode:
authorGravatar [Redacted] <pemrmaeoyve@users.noreply.github.com>2016-05-08 10:01:57 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-05-08 10:01:57 +0200
commit59c8800c4d0c77d8f6490f47b78e9465aaa474e4 (patch)
treed29411666e6b55ab50c5b38df9922df432df2d36 /share/completions
parent1d101ef3d01a7a8f7e651527fc81ee4bd4588ac5 (diff)
Added completions for rmmod (#3007)
Diffstat (limited to 'share/completions')
-rw-r--r--share/completions/rmmod.fish8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/completions/rmmod.fish b/share/completions/rmmod.fish
new file mode 100644
index 00000000..3f6dff16
--- /dev/null
+++ b/share/completions/rmmod.fish
@@ -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"