mirror of https://github.com/apache/cloudstack.git
cli: give filter option only when output 'tabularized' is enabled
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
531c2f030c
commit
71257d6bb4
|
|
@ -388,7 +388,8 @@ class CloudMonkeyShell(cmd.Cmd, object):
|
|||
self.cache_verbs[verb][subject][1])
|
||||
search_string = text
|
||||
|
||||
autocompletions.append("filter=")
|
||||
if self.tabularize == "true":
|
||||
autocompletions.append("filter=")
|
||||
return [s for s in autocompletions if s.startswith(search_string)]
|
||||
|
||||
def do_api(self, args):
|
||||
|
|
|
|||
Loading…
Reference in New Issue