summaryrefslogtreecommitdiff
path: root/lib/std/optparse.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/optparse.myr')
-rw-r--r--lib/std/optparse.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/optparse.myr b/lib/std/optparse.myr
index 0569dfc..6202aa4 100644
--- a/lib/std/optparse.myr
+++ b/lib/std/optparse.myr
@@ -105,7 +105,7 @@ const optnext = {ctx
var c
var arg
- (c, ctx.curarg) = strstep(ctx.curarg)
+ (c, ctx.curarg) = charstep(ctx.curarg)
match optinfo(ctx, c)
| `None: