OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1270-g78c0e3b

Gerrit Code Review gerrit@openafs.org
Tue, 7 Jun 2011 07:44:39 -0700 (PDT)


The following commit has been merged in the master branch:
commit 78c0e3b0efffe19c33bd0467872d65af43e5a47e
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Mon May 30 20:02:31 2011 +0100

    cmd: Add support for disabling specific abbrevs
    
    Sometimes, when adding a new command parameter, it's necessary to
    prevent it from colliding with an existing abbreviation. This patch
    adds a new command flag CMD_NOABBRV which can be set on a parameter
    to indicate that it should not be considered when checking for
    ambiguous abbreviations.
    
    For example, if a command has the existing '-cell' option which is
    popularly abbreviated to '-c', adding a '-config' option would
    cause the existing abbreviation to stop working. However, if '-config'
    is added with the NOABBRV flag set, '-c' will continue to work.
    
    Change-Id: I3b6d718f9dd81c44fb1d10c904db6a4a0fd763b8
    Reviewed-on: http://gerrit.openafs.org/4810
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/cmd/cmd.c         |    7 +++++--
 src/cmd/cmd.p.h       |    1 +
 tests/cmd/command-t.c |   16 +++++++++++++++-
 3 files changed, 21 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository