Skip to content

Commit 31f4cc2

Browse files
authored
Allow no short-help. (#48)
1 parent e9b9310 commit 31f4cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.toit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ abstract class Option:
374374
throw "Option can't be hidden and required."
375375

376376
/** Deprecated. Use --help instead of '--short-help'. */
377-
constructor.from-subclass .name --.short-name --short-help/string --required --hidden --multi --split-commas:
377+
constructor.from-subclass .name --.short-name --short-help/string? --required --hidden --multi --split-commas:
378378
help = short-help
379379
name = to-kebab name
380380
is-required = required

0 commit comments

Comments
 (0)