OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1137-gd0d8b39
Gerrit Code Review
gerrit@openafs.org
Wed, 27 Apr 2011 12:08:54 -0700 (PDT)
The following commit has been merged in the master branch:
commit d0d8b391b0c634f44cb019fd73fddf6ee523cfaa
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Tue Apr 19 19:37:37 2011 +0100
cmd: Add support for params with optional values
Add the CMD_SINGLE_OR_FLAG option which permits a parameter to
either have a single value, or no value at all. If it has no value,
then it behaves in the same way as the current 'flag' implementation.
Change-Id: I49cf313f1d3b9c369f87b1ff66bfcc038b8aa08a
Reviewed-on: http://gerrit.openafs.org/4545
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cmd/cmd.c | 23 +++++++++++++++++++----
src/cmd/cmd.p.h | 1 +
tests/cmd/command-t.c | 33 ++++++++++++++++++++++++++++++++-
3 files changed, 52 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository