WellDone / MoMo-Firmware

Embedded PIC Firmware and hardware designs for the WellDone Mobile Monitor (MoMo).
welldone.org
Other
8 stars 6 forks source link

Don't open a shell when a command-line execution fails. #123

Closed amcgee closed 10 years ago

amcgee commented 10 years ago

Really simple fix to prevent a shell from opening after an exception is raised.

Implemented a check for a "-i" or "--interactive" option before the arguments to momo which opens a shell, otherwise execution stops and the help message is displayed if we haven't executed a function.

timburke commented 10 years ago

This is integrated into PR #126, closing this one.