Browse Source

add missing function

master
belliash 7 years ago
parent
commit
7de4c1f440
1 changed files with 17 additions and 0 deletions
  1. 17
    0
      libraries/common

+ 17
- 0
libraries/common View File

@@ -390,6 +390,23 @@ function saveIFS() {
390 390
 	fi
391 391
 }
392 392
 
393
+#-------------------------------------------------------------------------------
394
+# Prints EzBuild usage information
395
+#-------------------------------------------------------------------------------
396
+function showEzbuildUsage() {
397
+	echo -e "EzBuild is release building metatool used by reGen2 developers for"
398
+	echo -e "building a custom Linux releases and templates.\n"
399
+	echo -e "USAGE: ezsync [parameters]"
400
+	echo -e "  -c\t--cleanlog\tclears log file; not working with -p and -P"
401
+	echo -e "  -h\t--help\t\tdisplays this screen and exits immediately"
402
+	echo -e "  -l\t--listmods\tshows the list of available built-in modules"
403
+	echo -e "  -p\t--purge\t\tclears temporary folder"
404
+	echo -e "  -P\t--purgeonly\tclears temporary folder and exits"
405
+	echo -e "  -s\t--syscheck\tperforms prerequisites check only"
406
+	echo -e "\n"
407
+	exit 0
408
+}
409
+
393 410
 #-------------------------------------------------------------------------------
394 411
 # Prints EzSync usage information
395 412
 #-------------------------------------------------------------------------------

Loading…
Cancel
Save