Skip to content

Commit 06d3ee4

Browse files
committed
Fix: bug.
1 parent 63996bb commit 06d3ee4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmdcomp/v2/command/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,12 +297,12 @@ class V2RelayCommand(_V2EmptyCommand):
297297
def _convert_argument(value: _InputArgument | None) -> V2Argument:
298298
match value:
299299
case str():
300-
return V2SelectArgument(type="select", options=[value])
300+
return V2SelectArgument(type="select", raw_options=[value])
301301

302302
case list():
303303
return V2SelectArgument(
304304
type="select",
305-
options=[v for v in value],
305+
raw_options=[v for v in value],
306306
)
307307

308308
case None:

0 commit comments

Comments
 (0)