hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 921c0ac5f172ab2ab709510a7bef0228aaa53166
parent 09d52064248c09473d5c2533764e12718cce60c5
Author: Alexey Yerin <yyp@disroot.org>
Date:   Mon, 22 Mar 2021 23:32:25 +0300

getopt: update getopts -> getopt in the example

Diffstat:
Mgetopt/getopts.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/getopt/getopts.ha b/getopt/getopts.ha @@ -92,7 +92,7 @@ export type help = (cmd_help | flag_help | parameter_help); // ('f', "file", "execute commands from a file"), // "files...", // ); -// defer getopts::finish(&cmd); +// defer getopt::finish(&cmd); // // for (let i = 0z; i < len(cmd.opts); i += 1) { // let opt = cmd.opts[i];