summaryrefslogtreecommitdiff
path: root/completions/iscsiadm
diff options
context:
space:
mode:
Diffstat (limited to 'completions/iscsiadm')
-rw-r--r--completions/iscsiadm12
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/iscsiadm b/completions/iscsiadm
index 326dc208..e5218d75 100644
--- a/completions/iscsiadm
+++ b/completions/iscsiadm
@@ -9,23 +9,23 @@ _iscsiadm()
-m|--mode)
COMPREPLY=( $( compgen -W 'discovery node session iface fw host' \
-- "$cur" ) )
- return 0
+ return
;;
-o|--op)
COMPREPLY=( $( compgen -W 'new delete update show' -- "$cur" ) )
- return 0
+ return
;;
-t|--type)
COMPREPLY=( $( compgen -W 'sendtargets st slp isns fw' -- "$cur" ) )
- return 0
+ return
;;
-L|-U|--loginall|--logoutall)
COMPREPLY=( $( compgen -W 'all manual automatic' -- "$cur" ) )
- return 0
+ return
;;
esac
- $split && return 0
+ $split && return
local options
if [[ $cword -gt 1 ]] ; then
@@ -63,4 +63,4 @@ _iscsiadm()
} &&
complete -F _iscsiadm iscsiadm
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh