aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-zchain3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ak-zchain b/bin/ak-zchain
index 06a1341..73d38ba 100755
--- a/bin/ak-zchain
+++ b/bin/ak-zchain
@@ -43,6 +43,8 @@
##
## --crawl-remote-ipns Crawls a remote zchain from ipns key
##
+## --get-latest Returns the latest zblock from your zchain
+##
fullprogrampath="$(realpath $0)"
PROGRAM=$(basename $0)
descriptionString="Zchain tools"
@@ -65,6 +67,7 @@ if [ ! -z $1 ]; then
--crawl-self) _ak_zchain_crawl_self; exit;;
--crawl-remote-ipfs) _ak_zchain_crawl_remote_ipfs $2; exit;;
--crawl-remote-ipns) _ak_zchain_crawl_remote_ipns $2; exit;;
+ --get-latest) _ak_zchain_get_latest; exit;;
* ) _ak_usage;;
esac
else _ak_usage