nhoffman / argparse-bash

Use python's argparse module in shell scripts
MIT License
166 stars 27 forks source link

Better haneling of action='store_true' #10

Closed guysoft closed 7 years ago

guysoft commented 7 years ago

If action='store_true' is set, then the variable starts True or False strings, might be a better way to do this.

nhoffman commented 7 years ago

@guysoft - thanks for the suggestion. Any thoughts on https://github.com/nhoffman/argparse-bash/commit/f470c6ec1644443f46eab94cbdd744502b1724ac ?

nhoffman commented 7 years ago

closed by 6352c3b

guysoft commented 7 years ago

Great, tested and works in here: https://github.com/guysoft/CustomPiOS/blob/CustomPiOS/src/make_custom_pi_os