[build.sh] Rewritten to build help menus
[help/conditions] [help/general] [help/info] Initial version [parser] Added support for help
This commit is contained in:
parent
dc6464ab54
commit
342d7d7eed
5 changed files with 80 additions and 6 deletions
|
@ -10,12 +10,15 @@ GIT_DIR="./"
|
|||
while true; do
|
||||
case ${1} in
|
||||
--help)
|
||||
help
|
||||
shift
|
||||
HELP="${1}"
|
||||
[[ -z "${HELP}" ]] && HELP=general
|
||||
eval help_${HELP}
|
||||
exit
|
||||
;;
|
||||
|
||||
--info)
|
||||
help info
|
||||
help_info
|
||||
exit
|
||||
;;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue