diff options
author | Csaba Henk <csaba@gluster.com> | 2011-05-11 02:39:14 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-11 19:17:56 -0700 |
commit | 86c818a98a18a3b6c33a494202922f1cd275ac7b (patch) | |
tree | 13dc415ce375aa480c7db81c6fd9e99c4e2296e9 /cli/src/cli-cmd.c | |
parent | 0652f9f92123e8bb3c0fee02c9fb3bbe23d9f7c6 (diff) |
cli: taking my revenge for forcing "geo-replication" into commandline
Accept unambigous initial fragments of keywords, eg.
gluster vol geo stat
is recognized. Compared to readline integration:
- no external dependency
- works in shell too
- works for inner keywords of operations
(as in above example, or "vol crea <vol> repl 3 ...")
- you save pressing tabs :)
If not desired in customer builds, can be disabled by an #ifdef
(not integrated into build system as of now); however, I think
folks in house could like it.
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2757 (refactory gsync/gsyncd/syncdaemon/whatever to geo-replication)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2757
Diffstat (limited to 'cli/src/cli-cmd.c')
0 files changed, 0 insertions, 0 deletions