commandlineparser / commandlineparser/commandline
Cannot use 2 verbs at the same time
- Linguagem predominante
- C#
- Estrelas
- 4.8k
- Forks
- 478
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
The issue names no files or tests. Start by reproducing the command-line cases with upgrade and validate in both verb orders, then trace the multi-verb option parsing path. Done means each verb accepts its own options when both verbs appear, without UnknownOptionError.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- csharp
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 35/100