create_vbox.sh: cleanup help text formatting

Also added missing single letter options from the Usage
string.  Long options (such as --qemu-emulator) aren't
in the Usage string - leave them off for now, we may
want to consider just eliminating the Usage string
entirely rather than duplicating the options in
the Usage string and the option list below it.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I3d8b53f9395f25b07842d81a2d18c29a104b209e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13059
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
This commit is contained in:
Jim Harris 2022-06-15 23:45:44 +00:00 committed by Tomasz Zawadzki
parent 13fa72c6d5
commit 9fe6fd9890

View File

@ -17,9 +17,9 @@ SPDK_DIR="$(cd "${DIR}/../../" && pwd)"
# The command line help # The command line help
display_help() { display_help() {
echo echo
echo " Usage: ${0##*/} [-b nvme-backing-file] [-n <num-cpus>] [-s <ram-size>] [-x <http-proxy>] [-hvrldcuf] <distro>" echo " Usage: ${0##*/} [-b nvme-backing-file] [-n <num-cpus>] [-s <ram-size>] [-x <http-proxy>] [-hvrldcufaoH] <distro>"
echo echo
echo " distro = <centos7 | centos8| ubuntu1604 | ubuntu1804 | ubuntu2004 | fedora33 |" echo " distro = <centos7 | centos8 | ubuntu1604 | ubuntu1804 | ubuntu2004 | fedora33 |"
echo " fedora34 | fedora35 | freebsd11 | freebsd12 | arch | clearlinux | rocky8>" echo " fedora34 | fedora35 | freebsd11 | freebsd12 | arch | clearlinux | rocky8>"
echo echo
echo " -s <ram-size> in MB Default: ${SPDK_VAGRANT_VMRAM}" echo " -s <ram-size> in MB Default: ${SPDK_VAGRANT_VMRAM}"
@ -51,6 +51,7 @@ display_help() {
echo " -v verbose" echo " -v verbose"
echo " -f Force use of given distro, regardless if it's supported by the script or not." echo " -f Force use of given distro, regardless if it's supported by the script or not."
echo " --box-version Version of the vagrant box to select for given distro." echo " --box-version Version of the vagrant box to select for given distro."
echo
echo " Examples:" echo " Examples:"
echo echo
echo " $0 -x http://user:password@host:port fedora33" echo " $0 -x http://user:password@host:port fedora33"