64kramsystem / 64kramsystem/simple_scripting

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

Đang mở
#41 0 bình luận 0 reaction 1 người được giao Được @64kramsystem nhận Xem trên GitHub
high_priority technical_debt
Ngôn ngữ chính
Ruby
Star
9
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.