File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,35 @@ $ raku example.raku -abc=asdf # Error
353
353
$ raku example.raku -/abc # Error
354
354
= end code
355
355
356
- This option is only available starting in the 2020.10 release.
356
+ This option is only available starting in the 2020.10 release of the
357
+ Rakudo compiler.
358
+
359
+ = head3 X < C < allow-no > |Programs,allow no- to negate>
360
+
361
+ When C « %*SUB-MAIN-OPTS < allow-no > » is set to a true value, then negation
362
+ of arguments on the command line can also be indicated by using the
363
+ C < no- > instead of C < / > .
364
+
365
+ = begin code :lang<shell>
366
+ $ raku example.raku --/foo # named argument "foo" is False
367
+ $ raku example.raku --no-foo # same
368
+ = end code
369
+
370
+ This option is only available starting in the 2022.12 release of
371
+ the Rakudo compiler.
372
+
373
+ = head3 X < C < numeric-suffix-as-value > |Programs,simpler way for numeric values>
374
+
375
+ When C « %*SUB-MAIN-OPTS < numeric-suffix-as-value > » is set to a true value,
376
+ then single letter arguments can have a numeric value specified as a suffix.
377
+
378
+ = begin code :lang<shell>
379
+ $ raku example.raku --j=2 # named argument "j" is 2
380
+ $ raku example.raku -j2 # same
381
+ = end code
382
+
383
+ This option is only available starting in the 2022.12 release of
384
+ the Rakudo compiler.
357
385
358
386
= head2 X < C < is hidden-from-USAGE > |Reference,hidden-from-USAGE>
359
387
You can’t perform that action at this time.
0 commit comments