FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

LinkBack Thread Tools
Old 07-05-2011, 11:51 AM
Allan McRae
Default parse_options: implement features useful for pacman-key

The implementation of optional arguments and accepting multiple arguments are
features that are required for using the option parser in pacman-key.

e.g. pacman-key --add [<file(s)>]

This can take no arguments or an arbitary number of arguments.

Allan McRae (3):
parse_options: add missing newlines
parse_options: implement optional arguments
parse_options: accept multiple arguments

scripts/library/parse_options.sh | 44 ++++++++++++++++++++++++++++++-------
1 files changed, 35 insertions(+), 9 deletions(-)


Thread Tools

All times are GMT. The time now is 10:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org