mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 19:21:57 +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
|
# SHORTCUT COMMANDS you can call as user 'admin' from terminal
|
||||||
|
|
||||||
|
function blitz() {
|
||||||
|
cd /home/admin
|
||||||
|
./00raspiblitz.sh
|
||||||
|
}
|
||||||
|
|
||||||
# command: blitz
|
# command: blitz
|
||||||
# calls the the raspiblitz mainmenu (shortcut)
|
# calls the the raspiblitz mainmenu (shortcut)
|
||||||
function blitz() {
|
function blitzhelp() {
|
||||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ] || [ "$1" = "--help" ] || [ "$1" = "help" ] ; then
|
|
||||||
echo "_commands.sh"
|
|
||||||
echo "Usage: command [options]"
|
|
||||||
echo
|
echo
|
||||||
echo "Blitz commands are consolidated here."
|
echo "Blitz commands are consolidated here."
|
||||||
echo
|
echo
|
||||||
@@ -60,9 +62,6 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ] || [ "$1" = "--help" ]
|
|||||||
echo "Extras:"
|
echo "Extras:"
|
||||||
echo " whitepaper download the whitepaper from the blockchain to /home/admin/bitcoin.pdf"
|
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"
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user