64kramsystem / 64kramsystem/simple_scripting

Special handling of `--help` and `--version`

Aberta
#41 0 comentários 0 reações 1 responsável Reivindicada por @64kramsystem Ver no GitHub
high_priority technical_debt
Linguagem predominante
Ruby
Estrelas
9
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

The two options have special behavior:

- they're baked in OptParse; preferrably, they shouldn't (this can be handled by manually raising an error)
- `--help` should disregard the correctness of the rest of the option/arguments when present. it's unclear how to handle broken options, since they would cause an error to be raised (check if optparse does an exception in this case)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.