Revision 3dabe5d2 kamaki/cli/command_tree.py

b/kamaki/cli/command_tree.py
202 202

  
203 203
        if '_' not in path:
204 204
            return None
205
        terms = terms[:-1]
205
        terms = path.split()[:-1]
206 206
        while len(terms) > 0:
207 207
            tmp_path = '_'.join(terms)
208 208
            cmd = self._all_commands[tmp_path]

Also available in: Unified diff