From 31f4cc21dbafe2d24c5f9ef249c62e2b770c7572 Mon Sep 17 00:00:00 2001 From: Florian Loitsch Date: Thu, 21 Dec 2023 12:21:33 +0100 Subject: [PATCH] Allow no short-help. (#48) --- src/cli.toit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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