Missed enum in videoplayer sample (#4568)
This commit is contained in:
committed by
Stanislav Erokhin
parent
e2cbe53776
commit
6552180055
@@ -166,7 +166,7 @@ fun main(args: Array<String>) {
|
||||
val argParser = ArgParser("videoplayer")
|
||||
val mode by argParser.option(
|
||||
ArgType.Choice<Mode>(), shortName = "m", description = "Play mode")
|
||||
.default(BOTH)
|
||||
.default(Mode.BOTH)
|
||||
val size by argParser.option(ArgType.Int, shortName = "s", description = "Required size of videoplayer window")
|
||||
.delimiter(",")
|
||||
val fileName by argParser.argument(ArgType.String, description = "File to play")
|
||||
|
||||
Reference in New Issue
Block a user