Skip to content

Commit d3517e6

Browse files
add autocomplete support for the instanceid parameter
1 parent 91f5600 commit d3517e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/completer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ func findAutocompleteAPI(arg *config.APIArg, apiFound *config.API, apiMap map[st
221221
relatedNoun = "storagepools"
222222
case argName == "associatednetworkid":
223223
relatedNoun = "networks"
224+
case argName == "instanceid":
225+
relatedNoun = "virtualmachines"
224226
default:
225227
// Heuristic: autocomplete for the arg for which a list<Arg without id/ids>s API exists
226228
// For example, for zoneid arg, listZones API exists

0 commit comments

Comments
 (0)