Author:ptrace
Comitter:ptrace
Date:2025-12-24 01:47:05 UTC
diff --git a/templates/lib/template.jai b/templates/lib/template.jai
index 7753969..8036650 100644
--- a/templates/lib/template.jai
+++ b/templates/lib/template.jai
@@ -91,14 +91,14 @@ build_release :: (w: Workspace, target_options: *Build_Options) {
args_help_print :: () {
help_message := #string _END_
Usage: jai build.jai - [ARGS]
Usage: jai build.jai - [OPTIONS] :: [PROGRAM ARGS]
Options:
help Prints this help menu
silent Disables compiler/linker statistics
run Runs your program afterwards
help Prints this help menu.
silent Disables compiler/linker statistics.
run Runs your program afterwards.
release Builds with release options. If omitted, it builds a debug build.
memory Enables the memory leak detector
memory Enables the memory leak detector.
Passing Args to your Program:
If you want to supply args to your program, pass it like that:
diff --git a/templates/with_args/template.jai b/templates/with_args/template.jai
index e231fc4..e33d9a1 100644
--- a/templates/with_args/template.jai
+++ b/templates/with_args/template.jai
@@ -86,13 +86,14 @@ build_release :: (w: Workspace, target_options: *Build_Options) {
args_help_print :: () {
help_message := #string _END_
Usage: jai build.jai - [ARGS]
Usage: jai build.jai - [OPTIONS] :: [PROGRAM ARGS]
Options:
help Prints this help menu
silent Disables compiler/linker statistics
run Runs your program afterwards
help Prints this help menu.
silent Disables compiler/linker statistics.
run Runs your program afterwards.
release Builds with release options. If omitted, it builds a debug build.
memory Enables the memory leak detector.
Passing Args to your Program:
If you want to supply args to your program, pass it like that: