diff options
-rwxr-xr-x | etc/bash_completion.d/vyatta-cfg | 14 | ||||
-rw-r--r-- | functions/interpreter/vyatta-cfg-run | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg index 7e37e74..cf72330 100755 --- a/etc/bash_completion.d/vyatta-cfg +++ b/etc/bash_completion.d/vyatta-cfg @@ -201,13 +201,13 @@ vyatta_loadsave_complete() echo -e " https://<host>/<file>\t\t\tLoad from file on remote machine" echo -e " tftp://<host>/<file>\t\t\tLoad from file on remote machine" elif [ "$command" = "merge" ]; then - 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" + 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 " 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" + echo -e " ftp://<user>[:<passwd>]@<host>/<file>\t\tMerge from file on remote machine" + echo -e " tftp://<host>/<file>\t\t\t\tMerge from file on remote machine" 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" diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run index e0bcfaf..a274e24 100644 --- a/functions/interpreter/vyatta-cfg-run +++ b/functions/interpreter/vyatta-cfg-run @@ -236,13 +236,13 @@ vyatta_config_merge () { # don't load if there are uncommitted changes. if vyatta_cli_shell_api sessionChanged; then - echo "Cannot load: configuration modified." - echo "Commit or discard the changes before loading a config file." + echo "Cannot merge: configuration modified." + echo "Commit or discard the changes before merging a config file." return 1 fi # return to top level. reset_edit_level - ${vyatta_sbindir}/vyatta-load-config.pl "$@" --merge + ${vyos_libexec_dir}/vyos-merge-config.py "$@" } top () |