Skip to content

Commit

Permalink
Allow no short-help. (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored Dec 21, 2023
1 parent e9b9310 commit 31f4cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.toit
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31f4cc2

Please sign in to comment.