OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1139-ga2f1ca5
Gerrit Code Review
gerrit@openafs.org
Wed, 27 Apr 2011 12:10:18 -0700 (PDT)
The following commit has been merged in the master branch:
commit a2f1ca5fd52ac2fb7e68b101bbe3da9878c10474
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Wed Apr 20 22:26:14 2011 +0100
cmd: Support splitting switches and values with '='
Some of our code uses arguments of the form -name=value. Add support
to libcmd for dealing with this type of argument, where name is
declared as CMD_SINGLE (or CMD_SINGLE_OR_FLAG)
Change-Id: Ifb7486abc4f6bf26594936ef11749c4fe29a2e9b
Reviewed-on: http://gerrit.openafs.org/4547
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cmd/cmd.c | 61 ++++++++++++++++++++++++++++++++++++++----------
tests/cmd/command-t.c | 16 ++++++++++++-
2 files changed, 63 insertions(+), 14 deletions(-)
--
OpenAFS Master Repository