diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-25 09:31:47 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-25 09:31:47 -0300 |
commit | 88af0be4ebbbd03e0201f4443466f0fbcb080ae9 (patch) | |
tree | f583fa5a3e90deffdd03e0f0fff8aacb6edc26f9 /src/usr/local | |
parent | 096c514733ebbcd254bf428d807e1e10160f80e0 (diff) | |
download | pfsense-88af0be4ebbbd03e0201f4443466f0fbcb080ae9.zip pfsense-88af0be4ebbbd03e0201f4443466f0fbcb080ae9.tar.gz |
Change usage() to use regular echo() and print to stderr
Diffstat (limited to 'src/usr/local')
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade index 41afb66..a4964a0 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -47,10 +47,10 @@ # OF THE POSSIBILITY OF SUCH DAMAGE. usage() { - _echo "Usage: $(basename ${0}) [-duy]" - _echo " -d - Turn on debug" - _echo " -u - Update repository information" - _echo " -y - Consider yes as the answer for any possible interaction" + echo "Usage: $(basename ${0}) [-dy] [-u|-i PKG_NAME|-r PKG_NAME]" >&2 + echo " -d - Turn on debug" >&2 + echo " -u - Update repository information" >&2 + echo " -y - Consider yes as the answer for any possible interaction" >&2 } _echo() { |