aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-11-08 12:47:21 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-11-08 12:47:21 +0000
commit144d107fcd0859d2133a35d26de0559bb3b7c957 (patch)
tree4bdce5da44bced03457e16cea36dd2b3a935109b /release/scripts
parent1c34bf95522f9245605fafcc9df3936f5211014e (diff)
downloadsrc-144d107fcd0859d2133a35d26de0559bb3b7c957.tar.gz
src-144d107fcd0859d2133a35d26de0559bb3b7c957.zip
Move usage() from vmimage.subr to mk-vmimage.sh,
in case vmimage.subr has not been sourced. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-vmimage/; revision=274284
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/mk-vmimage.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/mk-vmimage.sh b/release/scripts/mk-vmimage.sh
index 27c48b72b915..0dd330fa98d9 100755
--- a/release/scripts/mk-vmimage.sh
+++ b/release/scripts/mk-vmimage.sh
@@ -32,6 +32,12 @@
# $FreeBSD$
#
+usage() {
+ echo "${0} usage:"
+ echo "${@}"
+ return 1
+}
+
main() {
local arg
while getopts "C:c:d:f:i:o:s:S:" arg; do