v/vlib/v/fmt/tests/chain_calls_with_comments_e...

11 lines
167 B
V

fn main() {
options := cmdline
.only_options(args)
.filter(it != '-') // options, not including '-'
.map(if it.bytes().len > 1 {
1
})
println(options)
}