~ubuntu-branches/ubuntu/quantal/python-novaclient/quantal

« back to all changes in this revision

Viewing changes to tools/nova.bash_completion

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short
  • Date: 2012-08-16 12:41:00 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20120816124100-7k5ixsq0paaf6zd1
Tags: 1:2.6.10.37-0ubuntu1
[ Adam Gandelman ]
* debian/control: wrap-and-sort, set (>= 0.6) for py-prettytable
  dependency. (LP: #1028638)


[ Chuck Short ]
* debian/control:
  - Add python-keyring, python-unittest2
  - Add python-simplejson
  - Fix lintian warnings.
* debian/rules: Enable tests.
* debian/watch: Fix watch file

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
        prev="${COMP_WORDS[COMP_CWORD-1]}"
10
10
 
11
11
        if [ "x$_nova_opts" == "x" ] ; then
12
 
                nbc="`nova bash-completion`"
 
12
                nbc="`nova bash-completion | sed -e "s/\s-h\s/\s/"`"
13
13
                _nova_opts="`echo "$nbc" | sed -e "s/--[a-z0-9_-]*//g" -e "s/\s\s*/ /g"`"
14
14
                _nova_flags="`echo " $nbc" | sed -e "s/ [^-][^-][a-z0-9_-]*//g" -e "s/\s\s*/ /g"`"
15
15
                _nova_opts_exp="`echo "$_nova_opts" | sed -e "s/\s/|/g"`"