diff --git a/src/cli.toit b/src/cli.toit index 936082e..2f0f8f4 100644 --- a/src/cli.toit +++ b/src/cli.toit @@ -374,7 +374,7 @@ abstract class Option: throw "Option can't be hidden and required." /** Deprecated. Use --help instead of '--short-help'. */ - constructor.from-subclass .name --.short-name --short-help/string --required --hidden --multi --split-commas: + constructor.from-subclass .name --.short-name --short-help/string? --required --hidden --multi --split-commas: help = short-help name = to-kebab name is-required = required