From 4b6cae9b8f14fb51455cd717cfb80cdc4d72ee4f Mon Sep 17 00:00:00 2001 From: jarro2783 Date: Mon, 28 Sep 2015 12:51:30 +1000 Subject: [PATCH] add positional arguments to readme --- README | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README b/README index 94a1f11..5e8a855 100644 --- a/README +++ b/README @@ -44,6 +44,14 @@ it appeared, and to get its value. If "opt" doesn't exist, or isn't of the right type, then an exception will be thrown. +=== Positional Arguments === + +Positional arguments can be optionally parsed into one or more options. To set up positional arguments, call + + options.parse_positional({"first", "second", "last"}) + +where "last" should be the name of an option with a container type, and the others should have a single value. + == Linking == This is a header only library.