mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
make help a seperate command
This commit is contained in:
@@ -307,7 +307,7 @@ else
|
||||
echo "For setup logs: cat raspiblitz.log"
|
||||
echo "or call the command 'debug' to see bigger report."
|
||||
fi
|
||||
echo "Blitz command line options: blitz help"
|
||||
echo "Blitz command line options: blitzhelp"
|
||||
echo "Back to menus use command: raspiblitz"
|
||||
echo
|
||||
exit 0
|
||||
|
@@ -7,12 +7,14 @@ fi
|
||||
|
||||
# SHORTCUT COMMANDS you can call as user 'admin' from terminal
|
||||
|
||||
function blitz() {
|
||||
cd /home/admin
|
||||
./00raspiblitz.sh
|
||||
}
|
||||
|
||||
# command: blitz
|
||||
# calls the the raspiblitz mainmenu (shortcut)
|
||||
function blitz() {
|
||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ] || [ "$1" = "--help" ] || [ "$1" = "help" ] ; then
|
||||
echo "_commands.sh"
|
||||
echo "Usage: command [options]"
|
||||
function blitzhelp() {
|
||||
echo
|
||||
echo "Blitz commands are consolidated here."
|
||||
echo
|
||||
@@ -57,12 +59,9 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ] || [ "$1" = "--help" ]
|
||||
echo " jm JoinMarket"
|
||||
echo " pyblock PyBlock"
|
||||
echo
|
||||
echo " Extras:"
|
||||
echo "Extras:"
|
||||
echo " whitepaper download the whitepaper from the blockchain to /home/admin/bitcoin.pdf"
|
||||
echo " notifyme wrapper for blitz.notify.sh that will send a notification using the configured method and settings"
|
||||
else
|
||||
cd /home/admin
|
||||
./00raspiblitz.sh
|
||||
fi
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user