mirror of https://github.com/apache/cloudstack.git
cli: Show filter only when a subject is specified in autocompletion
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 7ea83b82e6)
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
99a04a416c
commit
59d01bfe20
|
|
@ -400,7 +400,7 @@ class CloudMonkeyShell(cmd.Cmd, object):
|
|||
self.cache_verbs[verb][subject][1])
|
||||
search_string = text
|
||||
|
||||
if self.tabularize == "true":
|
||||
if self.tabularize == "true" and subject != "":
|
||||
autocompletions.append("filter=")
|
||||
return [s for s in autocompletions if s.startswith(search_string)]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue