unify cl help outputs

This commit is contained in:
openoms
2021-10-12 01:09:46 +01:00
parent 3400b5259c
commit a5ae1cad8e
2 changed files with 13 additions and 9 deletions

View File

@@ -2,9 +2,11 @@
# command info # command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "-help" ]; then if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "-help" ]; then
echo
echo "# script to check CL states" echo "# script to check CL states"
echo "# cl.check.sh basic-setup" echo "# cl.check.sh basic-setup"
echo "# cl.check.sh prestart [mainnet|testnet|signet]" echo "# cl.check.sh prestart [mainnet|testnet|signet]"
echo
exit 1 exit 1
fi fi

View File

@@ -2,15 +2,17 @@
# command info # command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
echo "Interim optional C-lightning updates between RaspiBlitz releases." echo
echo "cl.update.sh [info|verified|reckless]" echo "Interim optional C-lightning updates between RaspiBlitz releases."
echo "info -> get actual state and possible actions" echo "cl.update.sh [info|verified|reckless]"
echo "verified -> only do recommended updates by RaspiBlitz team" echo "info -> get actual state and possible actions"
echo " binary will be checked by signature and checksum" echo "verified -> only do recommended updates by RaspiBlitz team"
echo "reckless -> if you just want to update to the latest release" echo " binary will be checked by signature and checksum"
echo " published on C-lightning GitHub releases (RC or final) without any" echo "reckless -> if you just want to update to the latest release"
echo " testing or security checks." echo " published on C-lightning GitHub releases (RC or final) without any"
exit 1 echo " testing or security checks."
echo
exit 1
fi fi
# 1. parameter [info|verified|reckless] # 1. parameter [info|verified|reckless]