Skip to content

Commit

Permalink
added netlog plugin and options
Browse files Browse the repository at this point in the history
  • Loading branch information
bgol committed Jul 3, 2016
1 parent 6c65846 commit 082df4e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/td-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ _td_import()

case ${prev} in
--plug|-P)
opts="maddavo edapi"
opts="maddavo edapi netlog"
COMPREPLY+=( $(compgen -W "${opts}" -- ${cur}) )
;;
--url)
Expand All @@ -125,7 +125,12 @@ _td_import()
return 0
fi
if [[ "${COMP_WORDS[i]}" = "edapi" ]]; then
opts="csvs name save eddn edcd"
opts=""
COMPREPLY+=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
if [[ "${COMP_WORDS[i]}" = "netlog" ]]; then
opts="show last date"
COMPREPLY+=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
Expand Down

0 comments on commit 082df4e

Please sign in to comment.