bin: fix missing print_help arg

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2021-01-22 21:22:16 +01:00
parent 28328013c7
commit 8bb4b7e5ac
9 changed files with 16 additions and 16 deletions

View File

@ -13,7 +13,7 @@
# AUTHOR: KayM (gnadelwartz), kay@rrr.de # AUTHOR: KayM (gnadelwartz), kay@rrr.de
# CREATED: 18.12.2020 12:27 # CREATED: 18.12.2020 12:27
# #
#### $$VERSION$$ v1.31-dev-14-g749eee7 #### $$VERSION$$ v1.32-dev-6-g2832801
#=============================================================================== #===============================================================================
############ ############

View File

@ -17,12 +17,12 @@ USAGE='bashbot_stats.sh [-h|--help] [debug]'
# AUTHOR: KayM (gnadelwartz), kay@rrr.de # AUTHOR: KayM (gnadelwartz), kay@rrr.de
# CREATED: 23.12.2020 20:34 # CREATED: 23.12.2020 20:34
# #
#### $$VERSION$$ v1.31-dev-14-g749eee7 #### $$VERSION$$ v1.32-dev-6-g2832801
#=============================================================================== #===============================================================================
# set bashbot environment # set bashbot environment
source "${0%/*}/bashbot_env.inc.sh" "$1" source "${0%/*}/bashbot_env.inc.sh" "$1"
[ -n "$1" ] && print_help [ -n "$1" ] && print_help "$1"
#### ####
# ready, do stuff here ----- # ready, do stuff here -----

View File

@ -20,7 +20,7 @@ USAGE='delete_message.sh [-h|--help] "CHAT[ID]" "MESSAGE[ID]" [debug]'
# AUTHOR: KayM (gnadelwartz), kay@rrr.de # AUTHOR: KayM (gnadelwartz), kay@rrr.de
# CREATED: 03.01.2021 15:37 # CREATED: 03.01.2021 15:37
# #
#### $$VERSION$$ v1.31-dev-14-g749eee7 #### $$VERSION$$ v1.32-dev-6-g2832801
#=============================================================================== #===============================================================================
#### ####
@ -29,7 +29,7 @@ DELETE="delete_message"
# set bashbot environment # set bashbot environment
source "${0%/*}/bashbot_env.inc.sh" "${3:-debug}" # $3 debug source "${0%/*}/bashbot_env.inc.sh" "${3:-debug}" # $3 debug
print_help print_help "$1"
#### ####
# ready, do stuff here ----- # ready, do stuff here -----

View File

@ -25,7 +25,7 @@ USAGE='send_message.sh [-h|--help] "CHAT[ID]" "MESSAGE[ID]" "text|url" ...'
# AUTHOR: KayM (gnadelwartz), kay@rrr.de # AUTHOR: KayM (gnadelwartz), kay@rrr.de
# CREATED: 21.01.2021 08:10 # CREATED: 21.01.2021 08:10
# #
#### $$VERSION$$ v1.32-dev-1-g662c6f4 #### $$VERSION$$ v1.32-dev-6-g2832801
#=============================================================================== #===============================================================================
#### ####
@ -34,7 +34,7 @@ SEND="edit_inline_keyboard"
# set bashbot environment # set bashbot environment
source "${0%/*}/bashbot_env.inc.sh" "debug" source "${0%/*}/bashbot_env.inc.sh" "debug"
print_help print_help "$1"
#### ####
# ready, do stuff here ----- # ready, do stuff here -----

View File

@ -23,7 +23,7 @@ USAGE='send_edit_message.sh [-h|--help] [format|caption] "CHAT[ID]" "MESSAGE[ID]
# AUTHOR: KayM (gnadelwartz), kay@rrr.de # AUTHOR: KayM (gnadelwartz), kay@rrr.de
# CREATED: 23.12.2020 16:52 # CREATED: 23.12.2020 16:52
# #
#### $$VERSION$$ v1.32-dev-5-g3378c1a #### $$VERSION$$ v1.32-dev-6-g2832801
#=============================================================================== #===============================================================================
#### ####
@ -50,7 +50,7 @@ esac
# set bashbot environment # set bashbot environment
source "${0%/*}/bashbot_env.inc.sh" "${4:-debug}" # $4 debug source "${0%/*}/bashbot_env.inc.sh" "${4:-debug}" # $4 debug
print_help print_help "$1"
#### ####
# ready, do stuff here ----- # ready, do stuff here -----

View File

@ -28,7 +28,7 @@ USAGE='broadcast_message.sh [-h|--help] [--doit] [--groups|--both|--db=file] [fo
# AUTHOR: KayM (gnadelwartz), kay@rrr.de # AUTHOR: KayM (gnadelwartz), kay@rrr.de
# CREATED: 16.12.2020 16:14 # CREATED: 16.12.2020 16:14
# #
#### $$VERSION$$ v1.31-dev-14-g749eee7 #### $$VERSION$$ v1.32-dev-6-g2832801
#=============================================================================== #===============================================================================
#### ####
@ -80,7 +80,7 @@ esac
# set bashbot environment # set bashbot environment
source "${0%/*}/bashbot_env.inc.sh" "$2" # $3 debug source "${0%/*}/bashbot_env.inc.sh" "$2" # $3 debug
print_help print_help "$1"
# read in users from given DB or count.jssh # read in users from given DB or count.jssh
database="${USERDB:-${COUNTFILE}}" database="${USERDB:-${COUNTFILE}}"

View File

@ -25,7 +25,7 @@ USAGE='send_message.sh [-h|--help] "CHAT[ID]" "message" "text|url" ...'
# AUTHOR: KayM (gnadelwartz), kay@rrr.de # AUTHOR: KayM (gnadelwartz), kay@rrr.de
# CREATED: 18.01.2021 11:34 # CREATED: 18.01.2021 11:34
# #
#### $$VERSION$$ v1.32-dev-1-g662c6f4 #### $$VERSION$$ v1.32-dev-6-g2832801
#=============================================================================== #===============================================================================
#### ####
@ -34,7 +34,7 @@ SEND="send_inline_keyboard"
# set bashbot environment # set bashbot environment
source "${0%/*}/bashbot_env.inc.sh" "debug" source "${0%/*}/bashbot_env.inc.sh" "debug"
print_help print_help "$1"
#### ####
# ready, do stuff here ----- # ready, do stuff here -----

View File

@ -25,7 +25,7 @@ USAGE='send_file.sh [-h|--help] "CHAT[ID]" "file|URL" "caption ...." [type] [deb
# AUTHOR: KayM (gnadelwartz), kay@rrr.de # AUTHOR: KayM (gnadelwartz), kay@rrr.de
# CREATED: 25.12.2020 20:24 # CREATED: 25.12.2020 20:24
# #
#### $$VERSION$$ v1.31-dev-14-g749eee7 #### $$VERSION$$ v1.32-dev-6-g2832801
#=============================================================================== #===============================================================================
#### ####
@ -34,7 +34,7 @@ SEND="send_file"
# set bashbot environment # set bashbot environment
source "${0%/*}/bashbot_env.inc.sh" "${5:-debug}" # $5 debug source "${0%/*}/bashbot_env.inc.sh" "${5:-debug}" # $5 debug
print_help print_help "$1"
#### ####
# ready, do stuff here ----- # ready, do stuff here -----

View File

@ -22,7 +22,7 @@ USAGE='send_message.sh [-h|--help] [format] "CHAT[ID]" "message ...." [debug]'
# AUTHOR: KayM (gnadelwartz), kay@rrr.de # AUTHOR: KayM (gnadelwartz), kay@rrr.de
# CREATED: 16.12.2020 11:34 # CREATED: 16.12.2020 11:34
# #
#### $$VERSION$$ v1.31-dev-14-g749eee7 #### $$VERSION$$ v1.32-dev-6-g2832801
#=============================================================================== #===============================================================================
#### ####