diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2022-10-25 13:25:43 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2022-10-25 13:25:43 +0300 |
commit | 4c76faf4c1a3d41fbd4c208d4ed43063077a2558 (patch) | |
tree | 38fb600d97d92de5680571b154e8e9471faf0293 /bin/zchain-reset | |
parent | 43fd4cd936eed3cbb9651942d7f21115dca1ea1d (diff) | |
download | arching-kaos-tools-4c76faf4c1a3d41fbd4c208d4ed43063077a2558.tar.gz arching-kaos-tools-4c76faf4c1a3d41fbd4c208d4ed43063077a2558.tar.bz2 arching-kaos-tools-4c76faf4c1a3d41fbd4c208d4ed43063077a2558.zip |
Added usage information
Diffstat (limited to 'bin/zchain-reset')
-rwxr-xr-x | bin/zchain-reset | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/bin/zchain-reset b/bin/zchain-reset index e24c161..813dc33 100755 --- a/bin/zchain-reset +++ b/bin/zchain-reset @@ -1,10 +1,16 @@ #!/bin/bash -title(){ - echo "Zchain reset" - echo "------------" -} +PROGRAM=$(basename $0) usage(){ - echo "Usage: $0 reset" + echo "$PROGRAM - Zchain reset" + echo "" + echo "Description:" + echo "Backs up your latest block into IPFS filesystem, replaces it with an empty file (GENESIS hardcode) and pushes its IPFS link as your chain's latest block." + echo "" + echo "Disclaimer:" + echo "This program, does NOT delete anything from your IPFS repository, neither denies access to previously created blocks." + echo "" + echo "Usage:" + echo " $PROGRAM reset" exit 0 } reset (){ |