Handbook
Glossary
parse-optional ( options command-line -- command-line' )
Vocabulary
command-line
.
parser
.
private
Inputs
options
an
object
command-line
an
object
Outputs
command-line'
an
object
Definition
USING:
kernel
namespaces
sequences
splitting
;
IN:
command-line.parser.private
::
parse-optional
( options command-line -- command-line' )
command-line
unclip
[
45
=
]
trim-head
"no-"
?head
[
options
find-option
]
dip
[
f
swap
]
[
[
option-value
]
keep
]
if
option-variable
set
;