cli: deprecate --name in favor of --from

This commit is contained in:
ValarDragon
2018-07-05 17:24:02 -07:00
parent 586ab68b2a
commit bf8cde1d3a
13 changed files with 559 additions and 35 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ echo; echo "Empty account:" $TO
./build/basecli account $TO
# send some money
TX=`echo $PASS | ./build/basecli send --to=$TO --amount=1000mycoin --name=demo --seq=0`
TX=`echo $PASS | ./build/basecli send --to=$TO --amount=1000mycoin --from=demo --seq=0`
echo; echo "SendTx"; echo $TX
HASH=`echo $TX | cut -d' ' -f6`
echo "tx hash:" $HASH