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:
@@ -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
|
||||
@@ -60,9 +62,6 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ] || [ "$1" = "--help" ]
|
||||
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