Revision 88af0be4
Added by Renato Botelho almost 10 years ago
src/usr/local/sbin/pfSense-upgrade | ||
---|---|---|
47 | 47 |
# OF THE POSSIBILITY OF SUCH DAMAGE. |
48 | 48 |
|
49 | 49 |
usage() { |
50 |
_echo "Usage: $(basename ${0}) [-duy]"
|
|
51 |
_echo " -d - Turn on debug"
|
|
52 |
_echo " -u - Update repository information"
|
|
53 |
_echo " -y - Consider yes as the answer for any possible interaction"
|
|
50 |
echo "Usage: $(basename ${0}) [-dy] [-u|-i PKG_NAME|-r PKG_NAME]" >&2
|
|
51 |
echo " -d - Turn on debug" >&2
|
|
52 |
echo " -u - Update repository information" >&2
|
|
53 |
echo " -y - Consider yes as the answer for any possible interaction" >&2
|
|
54 | 54 |
} |
55 | 55 |
|
56 | 56 |
_echo() { |
Also available in: Unified diff
Change usage() to use regular echo() and print to stderr