Skip to contentSkip to conversation

trivial: Remove extra character in configure help

PATCH In review Christophe de Dinechin 3 participants 4 messages Jun 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial: Remove extra character in configure help

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index ba88fd1824..c7a6a5adfe 100755
@@ -1787,7 +1787,7 @@ Advanced options (experts only):
   --block-drv-ro-whitelist=L
                            set block driver read-only whitelist
                            (affects only QEMU, not qemu-img)
-  --enable-trace-backends=B Set trace backend
+  --enable-trace-backends= Set trace backend
                            Available backends: $trace_backend_list
   --with-trace-file=NAME   Full PATH,NAME of file to store traces
                            Default:trace-<pid>
Signature · 1 line
2.26.2
#1 lore raw

Please ignore. The =B appears intentional, even if it offsets the whole help text.

Maybe replace with =L to indicate a list is expected?

Quoted 24 lines · Christophe de Dinechin

---
configure | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index ba88fd1824..c7a6a5adfe 100755
@@ -1787,7 +1787,7 @@ Advanced options (experts only):
  --block-drv-ro-whitelist=L
                           set block driver read-only whitelist
                           (affects only QEMU, not qemu-img)
-  --enable-trace-backends=B Set trace backend
+  --enable-trace-backends= Set trace backend
                           Available backends: $trace_backend_list
  --with-trace-file=NAME   Full PATH,NAME of file to store traces
                           Default:trace-<pid>
Signature · 1 line
2.26.2
#2 lore raw
In reply to Christophe de Dinechin
Quoted 10 lines · Christophe de Dinechin
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +0 -0
index ba88fd1824..c7a6a5adfe 100755

configure Advanced options (experts only): · line 1790

Quoted 5 lines
configure +1 -1
@@ -1787,7 +1787,7 @@ Advanced options (experts only):
   --block-drv-ro-whitelist=L
                            set block driver read-only whitelist
                            (affects only QEMU, not qemu-img)
-  --enable-trace-backends=B Set trace backend
+  --enable-trace-backends= Set trace backend

This is just following the style of the option above. "B" is a placeholder for the desired backend(s).

configure Advanced options (experts only): · line 1793

Quoted 3 lines
configure +0 -0
                            Available backends: $trace_backend_list
   --with-trace-file=NAME   Full PATH,NAME of file to store traces
                            Default:trace-<pid>

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#3 lore raw
Quoted 6 lines · Daniel P. Berrangé
Quoted 5 lines · Christophe de Dinechin
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines

configure Advanced options (experts only): · line 1790

Quoted 10 lines
configure +1 -1
index ba88fd1824..c7a6a5adfe 100755
@@ -1787,7 +1787,7 @@ Advanced options (experts only):
   --block-drv-ro-whitelist=L
                            set block driver read-only whitelist
                            (affects only QEMU, not qemu-img)
-  --enable-trace-backends=B Set trace backend
+  --enable-trace-backends= Set trace backend

This is just following the style of the option above. "B" is a placeholder for the desired backend(s).

I agree this is confusing, since then the filename is NAME, not N.

Maybe clearer to replace B -> BACKEND, L -> LIST, ...?

Quoted 9 lines

configure Advanced options (experts only): · line 1793

Quoted 4 lines
configure +0 -0
                            Available backends: $trace_backend_list
   --with-trace-file=NAME   Full PATH,NAME of file to store traces
                            Default:trace-<pid>

Regards,
Daniel