Add function to generate bash tab-completions for functions defined in utman.sh Also accepts --tab_completion_word for compatibility with google3 binaries
Add function to generate bash tab-completions for functions defined in utman.sh
Also accepts --tab_completion_word for compatibility with google3 binaries

BUG=none
TEST= to use, make sure utman.sh is in your PATH and add the following to your .bashrc or a file in /etc/bash_completion.d/

_utman() {
  local curw
  COMPREPLY=()
  curw=${COMP_WORDS[COMP_CWORD]}
  COMPREPLY=($(utman.sh function-completions $curw))
  return 0
}

complete -F _utman utman.sh

Review URL: http://codereview.chromium.org/6987018

git-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@5440 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2

nacl-webkit/native_client,nacl-webkit/native_client,sbc100/native_client,sbc100/native_client,nacl-webkit/native_client,sbc100/native_client,sbc100/native_client,sbc100/native_client,nacl-webkit/native_client,sbc100/native_client,nacl-webkit/native_client