diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-03 09:52:18 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-02-03 11:01:32 +0100 |
commit | 5a4bf8f43d1bc3796a9c9aec7ece43dc4dba6421 (patch) | |
tree | 57679ba80ffea93f62cee0ebbc63397c9ee7af11 /scripts/bash_completion | |
parent | 339396853ebac4db182eaf586abeb5d3ba8018fe (diff) | |
download | ptxdist-5a4bf8f43d1bc3796a9c9aec7ece43dc4dba6421.tar.gz ptxdist-5a4bf8f43d1bc3796a9c9aec7ece43dc4dba6421.tar.xz |
[PATCH] rename newpacket command to newpackage ...
... and provide a fallback for a smooth user experience.
While at it fix most wrong usages of "packet". There are a few left in
TODO (done items) and the Changelog.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[mkl: use ' instead of " during deprecation warning]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/bash_completion')
-rw-r--r-- | scripts/bash_completion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bash_completion b/scripts/bash_completion index e7491c32a..06e578c30 100644 --- a/scripts/bash_completion +++ b/scripts/bash_completion @@ -11,7 +11,7 @@ _ptxdist_completion() cur=( $(_get_cword) ) opts=' --collectionconfig --debug --force --force-download --j-extern --j-intern -k --platformconfig --ptxconfig --quiet --toolchain' - cmds=' allmodconfig allnoconfig allyesconfig autobuild boardsetup clean clone collection compile distclean drop export_src extract get go images install kernelconfig menu menuconfig migrate newpacket oldconfig platform platformconfig prepare print projects ptxdist select setup tags targetinstall test toolchain u_boot_config version' + cmds=' allmodconfig allnoconfig allyesconfig autobuild boardsetup clean clone collection compile distclean drop export_src extract get go images install kernelconfig menu menuconfig migrate newpackage oldconfig platform platformconfig prepare print projects ptxdist select setup tags targetinstall test toolchain u_boot_config version' # if no commands were given, complete on commands themselves if [ $COMP_CWORD -eq 1 ]; then @@ -46,7 +46,7 @@ _ptxdist_completion() drop) COMPREPLY=( $( compgen -W "${opts} $( pushd $(ptxdist print PTXDIST_PLATFORMDIR)/state >/dev/null; ls +(*.get|*.extract|*.prepare|*.compile|*.install|*.targetinstall); popd >/dev/null )" -- $cur ) ) ;; - newpacket) + newpackage) COMPREPLY=( $( compgen -W "${opts} target host host-existing-target cross cross-existing-target source kernel-driver font simple" -- $cur) ) ;; esac |