From 91f40eed9311604a3c455f34b39a13474e3b2905 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 23 Oct 2016 03:11:37 -0700 Subject: [PATCH] bin: add wallet shortcut to cli. --- bin/bcoin | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/bcoin b/bin/bcoin index 811370f0..96703143 100755 --- a/bin/bcoin +++ b/bin/bcoin @@ -28,9 +28,13 @@ if test x"$1" = x'cli'; then exit 1 fi +if test x"$1" = x'wallet'; then + exec "${dir}/cli" "$@" + exit 1 +fi + if test x"$1" = x'rpc'; then - shift - exec "${dir}/cli" rpc "$@" + exec "${dir}/cli" "$@" exit 1 fi