commandlineparser / commandlineparser/commandline

Cannot use 2 verbs at the same time

Aperta
#176 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Issue by [dmikov](https://github.com/dmikov)**
_Monday Oct 30, 2017 at 16:05 GMT_
_Originally opened as https://github.com/gsscoder/commandline/issues/497_

----

I have 2 verbs `upgrade` and `validate`, upgrade has 2 options `v` and `c`, the validate has 1 option `f`. If I use them separately it all works, if I put 2 verbs together on command line I am getting the `UnknownOptionError` from second verb option. i.e if the `upgrade` is first, then `f` on `validate` causes the error, if `validate` is first then `v` and `c` cause an error.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.