bcalc

cli bitcoin unit calculator
git clone git://jb55.com/bcalc
Log | Files | Refs | README | LICENSE

commit 1d05b2bbe1cb5ebc283e9ddc991245fc8ff20ec9
parent cfa6d7b58e7858082cc4ffc6295a80d72cb53bea
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 23 Dec 2017 15:23:54 -0800

aliases

Diffstat:
Mbcalc.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/bcalc.c b/bcalc.c @@ -100,8 +100,11 @@ int main(int argc, char *argv[argc]) { command_option(&cmd, "-M", "--mbtc", "output mBTC", mbtc); command_option(&cmd, "-b", "--bits", "output bits", bits); command_option(&cmd, "-f", "--finney", "output finneys", finney); + command_option(&cmd, "-f", "--finneys", "output finneys", finney); command_option(&cmd, "-s", "--sat", "output satoshis (default)", sat); + command_option(&cmd, "-s", "--sats", "output satoshis (default)", sat); command_option(&cmd, "-m", "--msat", "output millisatoshis", msat); + command_option(&cmd, "-m", "--msats", "output millisatoshis", msat); command_option(&cmd, "-P", "--price <arg>", "set price for arbitrary unit per BTC", setprice); command_option(&cmd, "-o", "--other", "output arbitrary unit, set by --price", optother); command_option(&cmd, "-u", "--usd", "output arbitrary usd units", optusd);