[pacman-dev] [PATCH v3 3/8] bacman: proper option handling

Allan McRae allan at archlinux.org
Thu Sep 1 03:57:25 UTC 2016


On 01/09/16 07:05, Gordian Edenhofer wrote:
> Switch to parseopts instead of merely checking the first argument.
> 
> Signed-off-by: Gordian Edenhofer <gordian.edenhofer at gmail.com>
> ---
>  contrib/bacman.sh.in | 63 ++++++++++++++++++++++++++++++++++------------------
>  1 file changed, 41 insertions(+), 22 deletions(-)
> 

<snip>

> +# Parse arguments
> +OPT_SHORT=':v'

Why the colon?


More information about the pacman-dev mailing list