From 86bb11662557bebdceef6b40cfd19e869a7ecc13 Mon Sep 17 00:00:00 2001 From: orbea Date: Mon, 23 Oct 2017 23:41:52 -0700 Subject: [PATCH 1/2] qb: Fix alignment in ./configure --help. --- qb/qb.params.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qb/qb.params.sh b/qb/qb.params.sh index e708f0390e..d37419e6a5 100644 --- a/qb/qb.params.sh +++ b/qb/qb.params.sh @@ -2,7 +2,7 @@ print_help_option() # $1 = option $@ = description { _opt="$1" shift 1 - printf " %-25s %s\n" "$_opt" "$@" + printf ' %-26s %s\n' "$_opt" "$@" } print_help() @@ -38,12 +38,12 @@ EOF 'yes'*) print_help_option "--disable-$VAR" "Disable $COMMENT";; 'no'*) - print_help_option "--enable-$VAR" "Enable $COMMENT";; + print_help_option "--enable-$VAR" "Enable $COMMENT";; 'auto'*) - print_help_option "--enable-$VAR" "Enable $COMMENT" + print_help_option "--enable-$VAR" "Enable $COMMENT" print_help_option "--disable-$VAR" "Disable $COMMENT";; *) - print_help_option "--with-$VAR" "Config $COMMENT";; + print_help_option "--with-$VAR" "Config $COMMENT";; esac esac done < 'qb/config.params.sh' From 8884190154c51ce6ab71488744cf9b42a0320a16 Mon Sep 17 00:00:00 2001 From: orbea Date: Mon, 23 Oct 2017 23:42:39 -0700 Subject: [PATCH 2/2] qb: Print config options first in ./configure --help. --- qb/config.params.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qb/config.params.sh b/qb/config.params.sh index 40cf9ba16f..4076b63c4a 100644 --- a/qb/config.params.sh +++ b/qb/config.params.sh @@ -1,3 +1,9 @@ +HAVE_LIBRETRO= # Libretro library used +HAVE_ASSETS_DIR= # Assets install directory +HAVE_BIN_DIR= # Binary install directory +HAVE_MAN_DIR= # Manpage install directory +HAVE_OPENGLES_LIBS= # Link flags for custom GLES library +HAVE_OPENGLES_CFLAGS= # C-flags for custom GLES library HAVE_CACA=no # Libcaca support HAVE_LIBRETRODB=yes # Libretrodb support HAVE_RGUI=yes # RGUI menu @@ -14,12 +20,6 @@ HAVE_LIBUSB=auto # Libusb HID support C89_LIBUSB=no HAVE_DBUS=auto # dbus support HAVE_UDEV=auto # Udev/Evdev gamepad support -HAVE_LIBRETRO= # Libretro library used -HAVE_ASSETS_DIR= # Assets install directory -HAVE_BIN_DIR= # Binary install directory -HAVE_MAN_DIR= # Manpage install directory -HAVE_OPENGLES_LIBS= # Link flags for custom GLES library -HAVE_OPENGLES_CFLAGS= # C-flags for custom GLES library HAVE_THREADS=auto # Threading support HAVE_THREAD_STORAGE=auto # Thread Local Storage support HAVE_FFMPEG=auto # FFmpeg recording support