64kramsystem / 64kramsystem/simple_scripting

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

Ouverte
#41 0 commentaires 0 réactions 1 personne assignée Réclamée par @64kramsystem Voir sur GitHub
high_priority technical_debt
Langage dominant
Ruby
Étoiles
9
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.