Handbook
Glossary
option-argument ( option -- argument )
Vocabulary
command-line
.
parser
.
private
Inputs
option
an
object
Outputs
argument
an
object
Definition
USING:
kernel
sequences
;
IN:
command-line.parser.private
:
option-argument
( option -- argument )
[
option-name
]
[
dup
positional?
[
drop
]
[
[
"--"
prepend
]
[
option-meta
[
" "
glue
]
when*
]
bi*
]
if
]
bi
;