From 7de4c1f440affe822d2ccf263b654e1989cec093 Mon Sep 17 00:00:00 2001 From: belliash Date: Thu, 19 Jan 2012 13:02:47 +0100 Subject: [PATCH] add missing function --- libraries/common | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/libraries/common b/libraries/common index 72634d5..fcd16b7 100644 --- a/libraries/common +++ b/libraries/common @@ -390,6 +390,23 @@ function saveIFS() { fi } +#------------------------------------------------------------------------------- +# Prints EzBuild usage information +#------------------------------------------------------------------------------- +function showEzbuildUsage() { + echo -e "EzBuild is release building metatool used by reGen2 developers for" + echo -e "building a custom Linux releases and templates.\n" + echo -e "USAGE: ezsync [parameters]" + echo -e " -c\t--cleanlog\tclears log file; not working with -p and -P" + echo -e " -h\t--help\t\tdisplays this screen and exits immediately" + echo -e " -l\t--listmods\tshows the list of available built-in modules" + echo -e " -p\t--purge\t\tclears temporary folder" + echo -e " -P\t--purgeonly\tclears temporary folder and exits" + echo -e " -s\t--syscheck\tperforms prerequisites check only" + echo -e "\n" + exit 0 +} + #------------------------------------------------------------------------------- # Prints EzSync usage information #-------------------------------------------------------------------------------