From ad4bb635a77aa36a3b6fadd804dc2286b06e13d5 Mon Sep 17 00:00:00 2001 From: Pranav Srinivas Kumar Date: Sun, 31 Mar 2019 22:05:29 -0400 Subject: [PATCH] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b5492c9..27e7dc0 100644 --- a/README.md +++ b/README.md @@ -157,10 +157,9 @@ Here's what's happening: * We have three optional arguments ```-a```, ```-b``` and ```-c```. * ```-a``` and ```-b``` are toggle arguments. * ```-c``` requires 2 floating point numbers from the command-line. You can specify how many inputs to expect using ```nargs```. -* argparse can handle compound arguments ```-abc``` and ```-bac```. This only works with short single-character argument names. +* argparse can handle compound arguments, e.g., ```-abc``` or ```-bac``` or ```-cab```. This only works with short single-character argument names. - ```-a``` and ```-b``` become true. - argv is further parsed to identify the inputs mapped to ```-c```. -* Using ```-cab``` will throw an error since argparse expects two inputs for the argument ```-c```. ## Further Examples