commit 63de96e1d4799150342348ceb252dbef21b481a1
parent cbc752a6d8afac44229b7701fb197f86c1aad562
Author: Jonathan Halmen <slowjo@halmen.xyz>
Date: Wed, 28 Apr 2021 18:00:58 +0200
getopt docs: fix typos
Signed-off-by: Jonathan Halmen <slowjo@halmen.xyz>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/getopt/getopts.ha b/getopt/getopts.ha
@@ -79,7 +79,7 @@ export type help = (cmd_help | flag_help | parameter_help);
// ('E', "use extended regular expressions"),
// ('s', "treat files as separate, rather than one continuous stream"),
// ('i', "edit files in place"),
-// ('z', "separate lines by NUL characeters"),
+// ('z', "separate lines by NUL characters"),
// ('e', "script", "execute commands from script"),
// ('f', "file", "execute commands from a file"),
// "files...",
@@ -102,7 +102,7 @@ export type help = (cmd_help | flag_help | parameter_help);
// // ...
// };
//
-// If "-h" is not among the options defined by the caller, the "-h" option will
+// If "-h" is not among the options defined by the caller, the "-h" option
// will cause a summary of the command usage to be printed to stderr, and
// [[os::exit]] will be called with a successful exit status.
export fn parse(args: []str, help: help...) command = {