From 79ca118e9afd4b3f4da7884e7152e6734323acc6 Mon Sep 17 00:00:00 2001 From: Vincent Danjean <Vincent.Danjean@ens-lyon.org> Date: Mon, 20 Mar 2006 21:50:52 +0000 Subject: [PATCH] correction bash_completion git-svn-id: svn+ssh://imag/users/huron/danjean/svnroot/claire/altree/trunk@147 cf695345-040a-0410-a956-b889e835fe2e --- bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_completion b/bash_completion index 218dbd5..3295f0b 100644 --- a/bash_completion +++ b/bash_completion @@ -2,7 +2,7 @@ _altree_option_list() { - altree --help 2> /dev/null | \ + "${COMP_WORDS[0]}" --help 2> /dev/null | \ sed -e '0,/^Options/d;/^ --/{s/^ //;s/^--\(man\|help\).*/--\1/;p};d' } -- GitLab