From bd87bdff53e68e5e29d6112bc164d5c1dde40cee Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Wed, 23 Aug 2017 10:44:03 -0700 Subject: [PATCH] Docs update for subcom/positional --- CHANGELOG.md | 4 ++++ README.md | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f81c33e..9c8c41c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## Version 1.2 (in progress) + +* Required positionals now take priority over subcommands [#23](https://github.com/CLIUtils/CLI11/issues/23) + ## Version 1.1 * Added simple support for enumerations, allow non-printable objects [#12](https://github.com/CLIUtils/CLI11/issues/12) diff --git a/README.md b/README.md index 66317ae2..df4c0651 100644 --- a/README.md +++ b/README.md @@ -198,6 +198,8 @@ There are several options that are supported on the main app and subcommands. Th * `.allow_extras()`: Do not throw an error if extra arguments are left over (Only useful on the main `App`, as that's the one that throws errors). * `.prefix_command()`: Like `allow_extras`, but stop immediately on the first unrecognised item. It is ideal for allowing your app to be a "prefix" to calling another app. +> Note: if you have a fixed number of required positional options, that will match before subcommand names. + ## Configuration file ```cpp