Skip to contentSkip to conversation

typo: Fix description of '--disable-debug-info'

PATCH In review Aditya Gupta 1 participant 2 messages Sep 23, 2024 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 typo: Fix description of '--disable-debug-info'

The existing description of '--disable-debug-info' seems to have a typo.

Later scripts/meson-buildoptions.sh does the following based on option:

+ --enable-debug-info) printf "%s" -Ddebug=true ;;
+ --disable-debug-info) printf "%s" -Ddebug=false ;;

With above logic, the description should be 'Disable debug symbols...' instead of 'Enable debug symbols...', Fix the typo by replacing Enable with Disable.

---
 scripts/meson-buildoptions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/meson-buildoptions.sh +1 -1
index cfadb5ea86af..81c053a0fffa 100644
@@ -12,7 +12,7 @@ meson_options_help() {
   printf "%s\n" '                           affects only QEMU, not tools like qemu-img)'
   printf "%s\n" '  --datadir=VALUE          Data file directory [share]'
   printf "%s\n" '  --disable-coroutine-pool coroutine freelist (better performance)'
-  printf "%s\n" '  --disable-debug-info     Enable debug symbols and other information'
+  printf "%s\n" '  --disable-debug-info     Disable debug symbols and other information'
   printf "%s\n" '  --disable-hexagon-idef-parser'
   printf "%s\n" '                           use idef-parser to automatically generate TCG'
   printf "%s\n" '                           code for the Hexagon frontend'
Signature · 1 line
2.46.0
#1 lore raw

Hi,

Seems there are more confusing option descriptions like:

+  printf "%s\n" '  --disable-install-blobs  install provided firmware blobs'
...
+  printf "%s\n" '  --disable-coroutine-pool coroutine freelist (better performance)'

Should we change them ?

Thanks,

Aditya Gupta

Quoted 29 lines · Aditya Gupta

The existing description of '--disable-debug-info' seems to have a typo.

Later scripts/meson-buildoptions.sh does the following based on option:

(quoted diff) +2 -0
+    --enable-debug-info) printf "%s" -Ddebug=true ;;
+    --disable-debug-info) printf "%s" -Ddebug=false ;;

With above logic, the description should be 'Disable debug symbols...' instead of 'Enable debug symbols...', Fix the typo by replacing Enable with Disable.

---
  scripts/meson-buildoptions.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
scripts/meson-buildoptions.sh +1 -1
index cfadb5ea86af..81c053a0fffa 100644
@@ -12,7 +12,7 @@ meson_options_help() {
    printf "%s\n" '                           affects only QEMU, not tools like qemu-img)'
    printf "%s\n" '  --datadir=VALUE          Data file directory [share]'
    printf "%s\n" '  --disable-coroutine-pool coroutine freelist (better performance)'
-  printf "%s\n" '  --disable-debug-info     Enable debug symbols and other information'
+  printf "%s\n" '  --disable-debug-info     Disable debug symbols and other information'
    printf "%s\n" '  --disable-hexagon-idef-parser'
    printf "%s\n" '                           use idef-parser to automatically generate TCG'
    printf "%s\n" '                           code for the Hexagon frontend'