Commit 4a5d45faf7d18c6f388d270fe03ed9e61a06a4e2

Authored by Jarryd Beck
1 parent 81f1f440

note in readme about positional arguments

Showing 1 changed file with 3 additions and 1 deletions
... ... @@ -14,6 +14,8 @@ Options can be given as:
14 14  
15 15 where c takes an argument, but a and b do not.
16 16  
  17 +Additionally, anything after `--` will be parsed as a positional argument.
  18 +
17 19 How to use:
18 20  
19 21 #include <cxxopts.hpp>
... ... @@ -50,7 +52,7 @@ This is a header only library.
50 52  
51 53 == Requirements ==
52 54  
53   -The only build requirement is a C++ compiler that supports C++11 regular
  55 +The only build requirement is a C++ compiler that supports C++11 regular
54 56 expressions. For example GCC >= 4.9 or clang with libc++.
55 57  
56 58  
... ...