From 9fe6fd98904a7f7be778f5ed50d191d15d89cf78 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Wed, 15 Jun 2022 23:45:44 +0000 Subject: [PATCH] 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 Change-Id: I3d8b53f9395f25b07842d81a2d18c29a104b209e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13059 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins Reviewed-by: Changpeng Liu Reviewed-by: Ben Walker Reviewed-by: Paul Luse --- scripts/vagrant/create_vbox.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/vagrant/create_vbox.sh b/scripts/vagrant/create_vbox.sh index 8a452439c..b428354bf 100755 --- a/scripts/vagrant/create_vbox.sh +++ b/scripts/vagrant/create_vbox.sh @@ -17,9 +17,9 @@ SPDK_DIR="$(cd "${DIR}/../../" && pwd)" # The command line help display_help() { echo - echo " Usage: ${0##*/} [-b nvme-backing-file] [-n ] [-s ] [-x ] [-hvrldcuf] " + echo " Usage: ${0##*/} [-b nvme-backing-file] [-n ] [-s ] [-x ] [-hvrldcufaoH] " echo - echo " distro = " echo echo " -s in MB Default: ${SPDK_VAGRANT_VMRAM}" @@ -45,12 +45,13 @@ display_help() { echo " --qemu-emulator= Path to custom QEMU binary. Only works with libvirt provider" echo " --vagrantfiles-dir= Destination directory to put Vagrantfile into." echo " --package-box Install all dependencies for SPDK and create a local vagrant box version." - echo " --vagrantfile= Path to a custom Vagrantfile" + echo " --vagrantfile= Path to a custom Vagrantfile" echo " -r dry-run" echo " -h help" echo " -v verbose" - 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 " -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 echo " Examples:" echo echo " $0 -x http://user:password@host:port fedora33"