X-Git-Url: https://git.dlugolecki.net.pl/?p=command.git;a=blobdiff_plain;f=README.md;fp=README.md;h=e5b69aaea687df1e429b8ac068b86476eae81678;hp=cb2c84fe1fa129c03a1e2e1ec894623a3658bf39;hb=38bb4b7acf0c24e6f11dd335fd354fb7f9b576f7;hpb=7f636d00ace53f8442a9903c8812a9638ba75d1f diff --git a/README.md b/README.md index cb2c84f..e5b69aa 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,9 @@ More complex example: Above code allows us to: -Parameters wrapped in Required class, have validator which checks if argument +Parameters wrapped in Required class, have validator which checks if argument is +passed: + $ ./a.out *Input values* is required @@ -136,6 +138,7 @@ Parameters wrapped in Required class, have validator which checks if argument Option: f failed value conversion to the required type For MultiValue Parameters each value is passed to the given function: + $ ./a.out 1-0-1 Argument: 1 Argument: 0