From 1be5f10daf6f08296eff399e82aa94d16800ef4e Mon Sep 17 00:00:00 2001 From: Jarryd Beck Date: Mon, 30 Jan 2017 07:28:57 +1100 Subject: [PATCH] clarify wording on short/long Fixes #37. A long option is required, a short option is not. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1e48643..355417e 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,9 @@ Then use `add_options`. ("f,file", "File name", cxxopts::value()) ; -Options can be declared with a short and/or long option. A description must be -provided. The third argument is the value, if omitted it is boolean. Any type -can be given as long as it can be parsed, with operator>>. +Options are declared with a long and an optional short option. A description +must be provided. The third argument is the value, if omitted it is boolean. +Any type can be given as long as it can be parsed, with operator>>. To parse the command line do: