summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-28 17:40:17 +0100
committerGitHub <noreply@github.com>2020-10-28 17:40:17 +0100
commit5aec1a0429f2f0c38ac3a74e55e6627b3058cf1e (patch)
treee5532586b4490a96a3f69417d7715f6bf082822f
parent86f99848d974b7100bb3abcbc46a142f43e70aeb (diff)
parentd2e3e816b6066e5f8dd9a0f180ae82d046b68244 (diff)
downloadvyatta-cfg-5aec1a0429f2f0c38ac3a74e55e6627b3058cf1e.tar.gz
vyatta-cfg-5aec1a0429f2f0c38ac3a74e55e6627b3058cf1e.zip
Merge pull request #29 from cjeanneret/correct-scp-URI
T3020: Correct scp completion hint
-rwxr-xr-xetc/bash_completion.d/vyatta-cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 7547099..cc72d43 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -198,7 +198,7 @@ vyatta_loadsave_complete()
if [ "$command" = "load" ]; then
echo -e " <Enter>\t\t\t\t\tLoad from system config file"
echo -e " <file>\t\t\t\t\tLoad from file on local machine"
- echo -e " scp://<user>[:<passwd>]@<host>/<file>\t\tLoad from file on remote machine"
+ echo -e " scp://<user>[:<passwd>]@<host>:/<file>\t\tLoad from file on remote machine"
echo -e " sftp://<user>[:<passwd>]@<host>/<file>\tLoad from file on remote machine"
echo -e " http://<host>/<file>\t\t\t\tLoad from file on remote machine"
echo -e " https://<host>/<file>\t\t\t\tLoad from file on remote machine"
@@ -206,7 +206,7 @@ vyatta_loadsave_complete()
echo -e " tftp://<host>/<file>\t\t\t\tLoad from file on remote machine"
elif [ "$command" = "merge" ]; then
echo -e " <file>\t\t\t\t\tMerge from file on local machine"
- echo -e " scp://<user>[:<passwd>]@<host>/<file>\t\tMerge from file on remote machine"
+ echo -e " scp://<user>[:<passwd>]@<host>:/<file>\t\tMerge from file on remote machine"
echo -e " sftp://<user>[:<passwd>]@<host>/<file>\tMerge from file on remote machine"
echo -e " http://<host>/<file>\t\t\t\tMerge from file on remote machine"
echo -e " https://<host>/<file>\t\t\t\tMerge from file on remote machine"
@@ -215,7 +215,7 @@ vyatta_loadsave_complete()
elif [ "$command" = "save" ]; then
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 " 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"
@@ -265,7 +265,7 @@ vyatta_loadkey_complete()
echo
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 " 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"