cmd: Add function to disable positional commands
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 18 Apr 2011 07:25:55 +0000 (08:25 +0100)
committerDerrick Brashear <shadow@dementia.org>
Tue, 26 Apr 2011 04:51:36 +0000 (21:51 -0700)
commit616a835ad21c54a469663b1cc8d2543849d0c646
treef52d240fd6f084f77506df729c82d28a78aeb6ff
parent376e24b2ee910af99f65aba472e9553dc509aa5d
cmd: Add function to disable positional commands

Add a new cmd_DisablePositionalCommands function which can be used
to completely disable positional commands, for functions which have
no desire to make use of them.

Change-Id: I5646e9976e544f06902ea6f85043a6330b1ac2fe
Reviewed-on: http://gerrit.openafs.org/4539
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cmd/cmd.c
src/cmd/cmd.p.h
tests/cmd/command-t.c