diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-12-11 11:37:29 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-12-11 11:37:31 +0100 |
commit | 8d70ea0c63b288af1eab1a0815a29349cd37f86d (patch) | |
tree | 97af51c8e1741ecc0af6dcb1379722cdb6be5fd4 | |
parent | a38db543db1d76139be65994a48689bb53640518 (diff) | |
download | ptxdist-8d70ea0c63b288af1eab1a0815a29349cd37f86d.tar.gz ptxdist-8d70ea0c63b288af1eab1a0815a29349cd37f86d.tar.xz |
bash_completion: fix completion for 'clean'
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | scripts/bash_completion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bash_completion b/scripts/bash_completion index ea3921d58..7ca9c9694 100644 --- a/scripts/bash_completion +++ b/scripts/bash_completion @@ -111,7 +111,7 @@ _ptxdist_completion() [ ${#args[@]} -lt 1 ] && _filedir ;; clean) - COMPREPLY=( root ) + COMPREPLY=( $( compgen -W root -- $cur ) ) ;& get|extract|prepare|compile|install|targetinstall|tags) COMPREPLY+=( $( compgen -W "$( $_ptxdist_cmd print PTX_PACKAGES_SELECTED 2> /dev/null)" -- $cur ) ) |