@@ -129,19 +129,19 @@ func TestAutocomplete(t *testing.T) {
129129 t .Run ("scw test flower delete flower f" , run (& testCase {Suggestions : nil }))
130130 // TODO: t.Run("scw test flower create leaves.0.size=", run(&testCase{Suggestions: AutocompleteSuggestions{"L", "M", "S", "XL", "XXL"}}))
131131
132- t .Run ("scw -" , run (& testCase {Suggestions : AutocompleteSuggestions {"--access-key" , "-- debug" , "--help" , "--output" , "--profile" , "--secret-key " , "-D" , "-h" , "-o" , "-p" }}))
132+ t .Run ("scw -" , run (& testCase {Suggestions : AutocompleteSuggestions {"--debug" , "--help" , "--output" , "--profile" , "-D" , "-h" , "-o" , "-p" }}))
133133 t .Run ("scw test -o j" , run (& testCase {Suggestions : AutocompleteSuggestions {"json" }}))
134134 t .Run ("scw test flower -o " , run (& testCase {Suggestions : AutocompleteSuggestions {"human" , "json" }}))
135- t .Run ("scw test flower -o json create -" , run (& testCase {Suggestions : AutocompleteSuggestions {"--access-key" , "-- debug" , "--help" , "--output" , "--profile" , "--secret-key " , "--wait" , "-D" , "-h" , "-p" , "-w" }}))
135+ t .Run ("scw test flower -o json create -" , run (& testCase {Suggestions : AutocompleteSuggestions {"--debug" , "--help" , "--output" , "--profile" , "--wait" , "-D" , "-h" , "-p" , "-w" }}))
136136 t .Run ("scw test flower create name=p -o j" , run (& testCase {Suggestions : AutocompleteSuggestions {"json" }}))
137137 t .Run ("scw test flower create name=p -o json " , run (& testCase {Suggestions : AutocompleteSuggestions {"colours.0=" , "leaves.0.size=" , "size=" , "species=" }}))
138138 t .Run ("scw test flower create name=p -o=json " , run (& testCase {Suggestions : AutocompleteSuggestions {"colours.0=" , "leaves.0.size=" , "size=" , "species=" }}))
139139 t .Run ("scw test flower create name=p -o=jso" , run (& testCase {Suggestions : nil }))
140140 t .Run ("scw test flower create name=p -o" , run (& testCase {Suggestions : AutocompleteSuggestions {"-o" }}))
141141 t .Run ("scw test -o json flower create " , run (& testCase {Suggestions : AutocompleteSuggestions {"colours.0=" , "leaves.0.size=" , "name=" , "size=" , "species=" }}))
142- t .Run ("scw test flower create name=p --secret-key xxxx " , run (& testCase {Suggestions : AutocompleteSuggestions {"colours.0=" , "leaves.0.size=" , "size=" , "species=" }}))
143- t .Run ("scw test --secret-key xxxx flower create name=p " , run (& testCase {Suggestions : AutocompleteSuggestions {"colours.0=" , "leaves.0.size=" , "size=" , "species=" }}))
144- t .Run ("scw test flower create name=p --secret-key xxxx" , run (& testCase {Suggestions : nil }))
142+ t .Run ("scw test flower create name=p --profile xxxx " , run (& testCase {Suggestions : AutocompleteSuggestions {"colours.0=" , "leaves.0.size=" , "size=" , "species=" }}))
143+ t .Run ("scw test --profile xxxx flower create name=p " , run (& testCase {Suggestions : AutocompleteSuggestions {"colours.0=" , "leaves.0.size=" , "size=" , "species=" }}))
144+ t .Run ("scw test flower create name=p --profile xxxx" , run (& testCase {Suggestions : nil }))
145145}
146146
147147func TestWordIndex (t * testing.T ) {
0 commit comments