64kramsystem / 64kramsystem/simple_scripting

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

Aperta
#41 0 commenti 0 reazioni 1 assegnatario Rivendicata da @64kramsystem Vedi su GitHub
high_priority technical_debt
Lingua principale
Ruby
Stelle
9
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

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.