2016-05-08 08:01:57 +00:00
# rmmod completion
2020-04-18 08:26:05 +00:00
complete -c rmmod -x -a "(lsmod | string replace -r '\s.*' '')"
2016-05-08 08:01:57 +00:00
2020-04-18 08:26:05 +00:00
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"
2016-05-08 08:01:57 +00:00
complete -c rmmod -s V -l version -d "Show version of program and exit"
2019-05-05 10:53:09 +00:00
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"