truffle
truffle copied to clipboard
Bug Fix: add command handling for '--version' & '-v'
This addresses #5106 .
Added handling for -v
and --version
in getCommand()
, so it will work both inside and outside of the console.
Turn off Yargs' default behavior for --version
in prepareOptions()
so our logic to display version info will kick in.
let me clean up the commits
I'm not too concerned about you messing with the commits. I can see the history of changes made easily enough since there aren't too many.
cleaned up the commits anyways :-) good to practice my rebasing.