[hackers] [abduco] [PATCH] Allow squashing of command line flags together

From: David Phillips <dbphillipsnz_AT_gmail.com>
Date: Fri, 31 Jul 2015 10:17:48 +1200

Currently, abduco only supports command line flags kept separate, eg
`abduco -c -f foo bar`. This patch changes the parser to treat `-abc`
as being equal to `-a -b -c`, effectively allowing options to be
'squashed' together. This would mean `abduco -c -f foo bar` could
equally be expressed as `abduco -cf foo bar`.

As an additional note, I had a play around with switching to getopt
rather than reinventing the wheel as abduco currently does. I could
submit that patch also/instead if it would be preferred over this one.

Received on Fri Jul 31 2015 - 00:17:48 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 31 2015 - 00:24:10 CEST