Closed lasers closed 5 years ago
Hi. I noticed we can simplify checking invalid/valid choices better by moving copy, type up to the top and putting everything under else (e.g., -h, --help, and no argument). This will remove some lines and will skip some things for invalid choices. Hopefully this is a small, but welcome optimization. 😩
copy
type
else
-h
--help
|ʘ‿ʘ)╯ Busy, kept snoozing this... but a good change, and finally confirmed!
Hi. I noticed we can simplify checking invalid/valid choices better by moving
copy
,type
up to the top and putting everything underelse
(e.g.,-h
,--help
, and no argument). This will remove some lines and will skip some things for invalid choices. Hopefully this is a small, but welcome optimization. 😩