summaryrefslogtreecommitdiff
path: root/rtadm.bash_completion
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-02-15 14:08:17 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-02-15 14:08:17 +0000
commit8fa9d4540df65eec3963ecd8a2f90347384a6de7 (patch)
treebeeb4c363dacf0683a684f9ecc06f92a47a9b42b /rtadm.bash_completion
parent07231d95d29670458200d05b9a48a840ac688bc3 (diff)
rtadm: integrate "upload"
'upload' is now a subcommand of rtadm git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@10398 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'rtadm.bash_completion')
-rw-r--r--rtadm.bash_completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtadm.bash_completion b/rtadm.bash_completion
index 15e3c70..4f6c296 100644
--- a/rtadm.bash_completion
+++ b/rtadm.bash_completion
@@ -18,7 +18,7 @@ _rtadm() {
COMPREPLY=()
cur=`_get_cword`
- commands='create show enable disable disconnect delete'
+ commands='create show enable disable disconnect upload delete'
if [[ $COMP_CWORD -eq 1 ]] ; then
COMPREPLY=( $( compgen -W "$commands" -- $cur ) )
@@ -42,7 +42,7 @@ _rtadm() {
hosts=`_rtadm_ra_hosts_enabled`
COMPREPLY=( $( compgen -W "$hosts" -- $cur ) )
;;
- delete)
+ delete|upload)
hosts=`_rtadm_ra_hosts`
COMPREPLY=( $( compgen -W "$hosts" -- $cur ) )
;;