OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1116-ge1414be
Gerrit Code Review
gerrit@openafs.org
Mon, 25 Apr 2011 21:53:31 -0700 (PDT)
The following commit has been merged in the master branch:
commit e1414be76bed00d12030e2704dc6e7bcca04b6d1
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Tue Apr 19 11:47:08 2011 +0100
cmd: Split up dispatch function
Split up the command line parsing behaviour out of the cmd_Dispatch
function, and into a function of its own - cmd_Parse. This lets servers
which only have a single "syntax" installed just parse, without needing
to go through a dispatch function, and all of the control flow
complexity that requires.
Change-Id: Ic4325bf933ee5b28cb80db36ef9b2b5fb6763f41
Reviewed-on: http://gerrit.openafs.org/4541
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cmd/cmd.c | 159 ++++++++++++++++++++++++++++++------------------
src/cmd/cmd.p.h | 3 +
tests/cmd/command-t.c | 45 +++++++++++++-
3 files changed, 145 insertions(+), 62 deletions(-)
--
OpenAFS Master Repository