More complete std.optparse example?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: More complete std.optparse example?
- From: Dan Christian <danchristian65@...>
- Date: 2016年4月27日 17:46:49 -0700
I'm trying to use std.optparse for the first time. The example shows
me how to get a parse arg and opt, but I don't know how to test
individual options from there.
local parser = OptionParser (help)
local arg, opts = parser:parse (_G.arg)
...
What should ... be?
Thanks,
Dan