Closed catb0t closed 5 years ago
also fixes a crash when no arguments or options were provided
ref https://github.com/scopatz/xo/pulls/13 and https://github.com/scopatz/xo/commit/46e0e91d6b99ea9c5e3d11a2856906e84d876b9a#r32121307
It may look weird but this is the intended way to get around ArgParse's simplicity. https://stackoverflow.com/a/17895206/4532996
Thanks!
also fixes a crash when no arguments or options were provided
ref https://github.com/scopatz/xo/pulls/13 and https://github.com/scopatz/xo/commit/46e0e91d6b99ea9c5e3d11a2856906e84d876b9a#r32121307
It may look weird but this is the intended way to get around ArgParse's simplicity. https://stackoverflow.com/a/17895206/4532996