commit cb6e8a1929f99f61b1fc6e00aa61c1a4ef0a6bf0
parent 58aaa06901f26ed8d451636826f8c301f93da949
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 20 Apr 2021 13:37:37 -0400
getopt: fix error in docs
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/getopt/getopts.ha b/getopt/getopts.ha
@@ -74,7 +74,7 @@ export type help = (cmd_help | flag_help | parameter_help);
// rune.
//
// // Usage for sed
-// let cmd = getopt::parse(os::args
+// const cmd = getopt::parse(os::args,
// "stream editor",
// ('E', "use extended regular expressions"),
// ('s', "treat files as separate, rather than one continuous stream"),