From af31e9033cf701e6d56d75aacfea4cc1fcd0e6e8 Mon Sep 17 00:00:00 2001 From: John Gee Date: Fri, 11 Sep 2020 21:13:05 +1200 Subject: [PATCH] Reword description of combining short options (#1345) * Reword description of combining short options * Remove extra text --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 1c696aca5..c44f2ccb2 100644 --- a/Readme.md +++ b/Readme.md @@ -76,7 +76,7 @@ Options are defined with the `.option()` method, also serving as documentation f The options can be accessed as properties on the Command object. Multi-word options such as "--template-engine" are camel-cased, becoming `program.templateEngine` etc. See also optional new behaviour to [avoid name clashes](#avoiding-option-name-clashes). -Multiple short flags may optionally be combined in a single argument following the dash: boolean flags, the last flag may take a value, and the value. +Multiple short flags may optionally be combined in a single argument following the dash: boolean flags, followed by a single option taking a value (possibly followed by the value). For example `-a -b -p 80` may be written as `-ab -p80` or even `-abp80`. You can use `--` to indicate the end of the options, and any remaining arguments will be used without being interpreted.