add missing function
This commit is contained in:
parent
1d539c7b3a
commit
91710f3dd2
2
ezsync
2
ezsync
|
@ -24,7 +24,7 @@ until [[ -z "${1}" ]]; do
|
|||
cleanLogs
|
||||
;;
|
||||
-h|--help)
|
||||
printEzsyncUsage
|
||||
showEzsyncUsage
|
||||
;;
|
||||
-p|--purge)
|
||||
printInfo "Clearing temp directory..."
|
||||
|
|
|
@ -255,6 +255,22 @@ function saveIFS() {
|
|||
fi
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Prints EzSync usage information
|
||||
#-------------------------------------------------------------------------------
|
||||
function showEzsyncUsage() {
|
||||
echo -e "\tEzSync is a part of EzBuild release building metatool used by"
|
||||
echo -e "\treGen2 Linux for synchronizing Portage Tree with mainline.\n"
|
||||
echo -e "USAGE: ezsync [parameters]"
|
||||
echo -e " -c\t--cleanlog\tclears log file"
|
||||
echo -e " -h\t--help\t\tdisplays this screen"
|
||||
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
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Returns a UNIX timestamp
|
||||
#-------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue