mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
iop: add ssh_upgrade completion of -f option.
Now you can select the file as a normal bash completion.
This commit is contained in:
parent
2830ec29b6
commit
227f258789
1 changed files with 7 additions and 1 deletions
|
|
@ -76,7 +76,13 @@ _iop()
|
|||
fi
|
||||
return 0
|
||||
;;
|
||||
|
||||
ssh_upgrade)
|
||||
if [ "$prev" == "-f" ] ; then
|
||||
_filedir
|
||||
else
|
||||
COMPREPLY=( $(compgen -W "-f -t -i -n -x -b" -- ${cur}) )
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
# No arguments or arguments not supported yet
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue