summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d
diff options
context:
space:
mode:
authorLeon Messner <elon@zwelf.net>2015-10-25 15:57:59 +0100
committerLeon Messner <elon@zwelf.net>2015-10-25 15:57:59 +0100
commit5a67b5f11976a24d4c4fe40b91ff4fc0f55a0429 (patch)
tree52dfe3e1ea247a6f8ce5c715264cd3d5e5ac22c2 /etc/bash_completion.d
parent76c30a8d299c6887512e843534c44546f0074e12 (diff)
downloadvyatta-cfg-5a67b5f11976a24d4c4fe40b91ff4fc0f55a0429.tar.gz
vyatta-cfg-5a67b5f11976a24d4c4fe40b91ff4fc0f55a0429.zip
Bug 584 - Allow sftp as copy and commit-archive location destination.
Diffstat (limited to 'etc/bash_completion.d')
-rwxr-xr-xetc/bash_completion.d/vyatta-cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 0e4b7f8..e6c1842 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -195,6 +195,7 @@ vyatta_loadsave_complete()
echo -e " <Enter>\t\t\t\tLoad from system config file"
echo -e " <file>\t\t\t\tLoad from file on local machine"
echo -e " scp://<user>:<passwd>@<host>/<file>\tLoad from file on remote machine"
+ echo -e " sftp://<user>:<passwd>@<host>/<file>\tLoad from file on remote machine"
echo -e " ftp://<user>:<passwd>@<host>/<file>\tLoad from file on remote machine"
echo -e " http://<host>/<file>\t\t\tLoad from file on remote machine"
echo -e " tftp://<host>/<file>\t\t\tLoad from file on remote machine"
@@ -202,6 +203,7 @@ vyatta_loadsave_complete()
echo -e " <Enter>\t\t\t\tMerge from system config file"
echo -e " <file>\t\t\t\tMerge from file on local machine"
echo -e " scp://<user>:<passwd>@<host>/<file>\tMerge from file on remote machine"
+ echo -e " sftp://<user>:<passwd>@<host>/<file>\tMerge from file on remote machine"
echo -e " ftp://<user>:<passwd>@<host>/<file>\tMerge from file on remote machine"
echo -e " http://<host>/<file>\t\t\tMerge from file on remote machine"
echo -e " tftp://<host>/<file>\t\t\tMerge from file on remote machine"
@@ -209,6 +211,7 @@ vyatta_loadsave_complete()
echo -e " <Enter>\t\t\t\tSave to system config file"
echo -e " <file>\t\t\t\tSave to file on local machine"
echo -e " scp://<user>:<passwd>@<host>/<file>\tSave to file on remote machine"
+ echo -e " sftp://<user>:<passwd>@<host>/<file>\tSave to file on remote machine"
echo -e " ftp://<user>:<passwd>@<host>/<file>\tSave to file on remote machine"
echo -e " tftp://<host>/<file>\t\t\tSave to file on remote machine"
fi
@@ -258,6 +261,7 @@ vyatta_loadkey_complete()
echo "Possible completions:"
echo -e " <file>\t\t\t\tLoad from file on local machine"
echo -e " scp://<user>@<host>/<file>\tLoad from file on remote machine"
+ echo -e " sftp://<user>@<host>/<file>\tLoad from file on remote machine"
echo -e " ftp://<user>@<host>/<file>\tLoad from file on remote machine"
echo -e " http://<host>/<file>\t\t\tLoad from file on remote machine"
echo -e " tftp://<host>/<file>\t\t\tLoad from file on remote machine"