truffle icon indicating copy to clipboard operation
truffle copied to clipboard

Bug Fix: add command handling for '--version' & '-v'

Open lsqproduction opened this issue 2 years ago • 0 comments

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.

lsqproduction avatar Aug 04 '22 21:08 lsqproduction

let me clean up the commits

lsqproduction avatar Aug 18 '22 15:08 lsqproduction

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.

eggplantzzz avatar Aug 18 '22 16:08 eggplantzzz

cleaned up the commits anyways :-) good to practice my rebasing.

lsqproduction avatar Aug 18 '22 17:08 lsqproduction