aboutsummaryrefslogtreecommitdiff
path: root/core/flags
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-04-05 16:36:26 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-04-05 16:36:26 +0200
commitf7c4c80ef3e50d72e2ec499ef395ed19c514d512 (patch)
tree718a167c7615a474b3b306e06e3269c7194853da /core/flags
parent8480295b60378e94d4d91e262fabd0a91e5b1150 (diff)
Fix broken examples in documentation tester.
No more: ``` We could not find the procedure "pkg_foo_example :: proc()" needed to test the example created for "pkg.foo" The following procedures were found: bar() ```
Diffstat (limited to 'core/flags')
-rw-r--r--core/flags/util.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/flags/util.odin b/core/flags/util.odin
index c182289be..ce7e2e36c 100644
--- a/core/flags/util.odin
+++ b/core/flags/util.odin
@@ -95,7 +95,7 @@ Example:
import "core:flags"
import "core:fmt"
- subtag_example :: proc() {
+ get_subtag_example :: proc() {
args_tag := "precision=3,signed"
precision, has_precision := flags.get_subtag(args_tag, "precision")