From 45610c07f4712f461512ce0a51a7840534f8957a Mon Sep 17 00:00:00 2001 From: Simon Kellet Date: Thu, 9 Jul 2026 19:43:58 +0100 Subject: [PATCH] updated example to show off required flags --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3d2062a..89b55e9 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,7 @@ This a very simple implementation of Go-like flags in Odin fleg.parse_flags() ``` - -You can also marks flags as **required"**. These will still be parsed, however will hault the application until they are passed: +You can also marks flags as **required**. These will still be parsed, however will hault the application until they are passed: ```odin import "fleg" @@ -29,14 +28,14 @@ You can also marks flags as **required"**. These will still be parsed, however w fleg.parse_flags() ``` -***Supports: bool, int, string, f32*** - And on the command line, you pass flags like so: ```bash ./ -isNumber=45 -isRunning=false ...... ``` +***Supports: bool, int, string, f32 and f64*** + ## Help flag: The package also contains a help context menu. This comes default and can be called like so (**Note:** You can also use "-h" or "--help"):