summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorPaul Stauffer <paulds@horde.com>2016-03-17 13:19:28 -0400
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-03-17 23:59:04 -0700
commit609d0cf8d678626224d70a8a8a269ab6076a5983 (patch)
treedb3650dcd933fb79805487bbf2a864d0838de6c3 /extras
parent0b4f733f5ef074a38dacd33b39e5371d467d0f25 (diff)
bash-completion: Swap order of characters in egrep bracket expression
Backport of http://review.gluster.org/11939 Change-Id: I5132a8ffb00d03932bc6bd801eeaf237b334e2e3 BUG: 1318750 Signed-off-by: Paul Stauffer <paulds@horde.com> Reviewed-on: http://review.gluster.org/13769 Reviewed-by: Ravishankar N <ravishankar@redhat.com> Tested-by: Ravishankar N <ravishankar@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/command-completion/gluster.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/command-completion/gluster.bash b/extras/command-completion/gluster.bash
index be0591c..680ecd9 100644
--- a/extras/command-completion/gluster.bash
+++ b/extras/command-completion/gluster.bash
@@ -480,7 +480,7 @@ _gluster_handle_list ()
_gluster_completion ()
{
FINAL_LIST=`echo $GLUSTER_COMMAND_TREE | \
- egrep -ao --color=never "([A-Za-z0-9_-.]+)|[[:space:]]+|." | \
+ egrep -ao --color=never "([A-Za-z0-9_.-]+)|[[:space:]]+|." | \
egrep -v --color=never "^[[:space:]]*$" | \
_gluster_parse`