The "destination-is-zero" row is missing a space character between the
first two columns, in the "long_options" table; supply it. The max width
of "copy/main.c" remains 79 chars.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172516
Acked-by: Richard W.M. Jones <rjo...@redhat.com>
Signed-off-by: Laszlo Ersek <ler...@redhat.com>
---

Notes:
    v2:
    
    - redo (rebase would mean a bunch of conflicts)
    
    - pick up Rich's ACK

 copy/main.c | 36 ++++++++++----------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/copy/main.c b/copy/main.c
index 34e6943b07e3..9c53842ff7cf 100644
--- a/copy/main.c
+++ b/copy/main.c
@@ -119,24 +119,24 @@ main (int argc, char *argv[])
   };
   const char *short_options = "C:pR:S:T:vV";
   const struct option long_options[] = {
-    { "help",               no_argument,       NULL, HELP_OPTION },
-    { "long-options",       no_argument,       NULL, LONG_OPTIONS },
-    { "allocated",          no_argument,       NULL, ALLOCATED_OPTION },
-    { "connections",        required_argument, NULL, 'C' },
-    { "destination-is-zero",no_argument,       NULL, TARGET_IS_ZERO_OPTION },
-    { "flush",              no_argument,       NULL, FLUSH_OPTION },
-    { "no-extents",         no_argument,       NULL, NO_EXTENTS_OPTION },
-    { "progress",           optional_argument, NULL, 'p' },
-    { "queue-size",         required_argument, NULL, QUEUE_SIZE_OPTION },
-    { "request-size",       required_argument, NULL, REQUEST_SIZE_OPTION },
-    { "requests",           required_argument, NULL, 'R' },
-    { "short-options",      no_argument,       NULL, SHORT_OPTIONS },
-    { "sparse",             required_argument, NULL, 'S' },
-    { "synchronous",        no_argument,       NULL, SYNCHRONOUS_OPTION },
-    { "target-is-zero",     no_argument,       NULL, TARGET_IS_ZERO_OPTION },
-    { "threads",            required_argument, NULL, 'T' },
-    { "verbose",            no_argument,       NULL, 'v' },
-    { "version",            no_argument,       NULL, 'V' },
+    { "help",                no_argument,       NULL, HELP_OPTION },
+    { "long-options",        no_argument,       NULL, LONG_OPTIONS },
+    { "allocated",           no_argument,       NULL, ALLOCATED_OPTION },
+    { "connections",         required_argument, NULL, 'C' },
+    { "destination-is-zero", no_argument,       NULL, TARGET_IS_ZERO_OPTION },
+    { "flush",               no_argument,       NULL, FLUSH_OPTION },
+    { "no-extents",          no_argument,       NULL, NO_EXTENTS_OPTION },
+    { "progress",            optional_argument, NULL, 'p' },
+    { "queue-size",          required_argument, NULL, QUEUE_SIZE_OPTION },
+    { "request-size",        required_argument, NULL, REQUEST_SIZE_OPTION },
+    { "requests",            required_argument, NULL, 'R' },
+    { "short-options",       no_argument,       NULL, SHORT_OPTIONS },
+    { "sparse",              required_argument, NULL, 'S' },
+    { "synchronous",         no_argument,       NULL, SYNCHRONOUS_OPTION },
+    { "target-is-zero",      no_argument,       NULL, TARGET_IS_ZERO_OPTION },
+    { "threads",             required_argument, NULL, 'T' },
+    { "verbose",             no_argument,       NULL, 'v' },
+    { "version",             no_argument,       NULL, 'V' },
     { NULL }
   };
   int c;

_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to