diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-10-06 16:33:01 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-06 16:33:01 -0500 |
commit | 10f3f3a446caa3ad447045293809cbc05ff4260a (patch) | |
tree | c8e725bc0fea68953763c66e678ec1671fb5aeac | |
parent | 53f041b24fed0def5cc4be2d39129d4dbbb3624d (diff) | |
download | vyatta-cfg-10f3f3a446caa3ad447045293809cbc05ff4260a.tar.gz vyatta-cfg-10f3f3a446caa3ad447045293809cbc05ff4260a.zip |
Fix typo in error message
-rwxr-xr-x | etc/bash_completion.d/vyatta-cfg | 8 | ||||
-rw-r--r-- | functions/interpreter/vyatta-cfg-run | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg index 90e7f9a..2ee8edc 100755 --- a/etc/bash_completion.d/vyatta-cfg +++ b/etc/bash_completion.d/vyatta-cfg @@ -750,9 +750,9 @@ vyatta_config_invalid_comp () local -a _get_help_text_helps=( "${_cli_shell_api_hstrs[@]}" ) local vyatta_help_text='' if [[ $opath == '' ]]; then - echo -ne "\n\n Configuation path: [$arg] is ambiguous\n" + echo -ne "\n\n Configuration path: [$arg] is ambiguous\n" else - echo -ne "\n\n Configuation path: $opath [$arg] is ambiguous\n" + echo -ne "\n\n Configuration path: $opath [$arg] is ambiguous\n" fi get_help_text echo -ne "$vyatta_help_text\n" | sed 's/^P/ P/' @@ -760,9 +760,9 @@ vyatta_config_invalid_comp () break else if [[ $opath == '' ]]; then - echo -ne "\n\n Configuation path: [$arg] is not valid" + echo -ne "\n\n Configuration path: [$arg] is not valid" else - echo -ne "\n\n Configuation path: $opath [$arg] is not valid" + echo -ne "\n\n Configuration path: $opath [$arg] is not valid" fi failed=true break diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run index 9c01194..263e61a 100644 --- a/functions/interpreter/vyatta-cfg-run +++ b/functions/interpreter/vyatta-cfg-run @@ -369,9 +369,9 @@ vyatta_cfg_validate_cmd () local -a _get_help_text_helps=( "${_cli_shell_api_hstrs[@]}" ) local vyatta_help_text='' if [[ $opath == '' ]]; then - echo -ne "\n Configuation path: [$arg] is ambiguous\n" + echo -ne "\n Configuration path: [$arg] is ambiguous\n" else - echo -ne "\n Configuation path: $opath [$arg] is ambiguous\n" + echo -ne "\n Configuration path: $opath [$arg] is ambiguous\n" fi get_help_text echo -e "$vyatta_help_text\n" | sed 's/^P/ P/' @@ -379,9 +379,9 @@ vyatta_cfg_validate_cmd () break else if [[ $opath == '' ]]; then - echo -ne "\n Configuation path: [$arg] is not valid\n ${cmd^} failed\n\n" + echo -ne "\n Configuration path: [$arg] is not valid\n ${cmd^} failed\n\n" else - echo -ne "\n Configuation path: $opath [$arg] is not valid\n ${cmd^} failed\n\n" + echo -ne "\n Configuration path: $opath [$arg] is not valid\n ${cmd^} failed\n\n" fi break fi |