Author:ptrace Comitter:ptrace Date:2025-12-24 01:47:45 UTC Merge: db7627768318cbf014d30b1f117d801c0ef848bd c353f13c3ae6b6ac33a9c6946330ca54b4ba3ca6

Merge pull request 'the arg 'memory' was missing in the help menu' (#5) from fix/mention-memory-arg-in-help-menu into main

Reviewed-on: https://codeberg.org/ptrace/jai-init/pulls/5

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: