Move usage() from vmimage.subr to mk-vmimage.sh,

in case vmimage.subr has not been sourced.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2014-11-08 12:47:21 +00:00
parent 1c34bf9552
commit 144d107fcd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-vmimage/; revision=274284
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -35,12 +35,6 @@ write_partition_layout() {
return 0
}
usage() {
echo "${0} usage:"
echo "${@}"
return 1
}
err() {
printf "${@}\n"
cleanup