equal
deleted
inserted
replaced
11 # GNU General Public License for more details. |
11 # GNU General Public License for more details. |
12 # |
12 # |
13 # You should have received a copy of the GNU General Public License |
13 # You should have received a copy of the GNU General Public License |
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 |
15 |
16 _relpipe_in_xmltable_completion() { |
16 _relpipe_in_initable_completion() { |
17 local w0 w1 w2 w3 |
17 local w0 w1 w2 w3 |
18 |
18 |
19 COMPREPLY=() |
19 COMPREPLY=() |
20 w0=${COMP_WORDS[COMP_CWORD]} |
20 w0=${COMP_WORDS[COMP_CWORD]} |
21 w1=${COMP_WORDS[COMP_CWORD-1]} |
21 w1=${COMP_WORDS[COMP_CWORD-1]} |
90 ) |
90 ) |
91 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
91 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
92 fi |
92 fi |
93 } |
93 } |
94 |
94 |
95 complete -F _relpipe_in_xmltable_completion relpipe-in-xmltable |
95 complete -F _relpipe_in_initable_completion relpipe-in-initable |