Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 4/4] archive: use parseopt for local-only options

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:21

René Scharfe [off-list ref] writes:
The parseopt parser allows multiple occurrences of --remote and --exec
unlike the previous one; the one specified last wins.  This looseness
is acceptable, I think.
I agree.

If we care about this very deeply, we can add "this option is supposed to
be singleton" option to the parse_options infrastructure.  Besides, the
"last one wins" rule is often more convenient than "there has to be at
most one" rule in real life.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help