Skip to contentSkip to conversation

multipath-tools: remove final \ in fprintf

PATCH In review Xose Vazquez Perez 2 participants 2 messages Jul 18, 2016 – Jul 22, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: remove final \ in fprintf

Useless.

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 multipath/main.c | 64 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 32 insertions(+), 32 deletions(-)
multipath/main.c +32 -32
index 907a96c..0bec0d2 100644
@@ -110,38 +110,38 @@ usage (char * progname)
 	fprintf (stderr,
 		"\n"
 		"Where:\n"
-		"  -h      print this usage text\n" \
-		"  -l      show multipath topology (sysfs and DM info)\n" \
-		"  -ll     show multipath topology (maximum info)\n" \
-		"  -f      flush a multipath device map\n" \
-		"  -F      flush all multipath device maps\n" \
-		"  -a      add a device wwid to the wwids file\n" \
-		"  -c      check if a device should be a path in a multipath device\n" \
-		"  -q      allow queue_if_no_path when multipathd is not running\n"\
-		"  -d      dry run, do not create or update devmaps\n" \
-		"  -t      dump internal hardware table\n" \
-		"  -r      force devmap reload\n" \
-		"  -i      ignore wwids file\n" \
-		"  -B      treat the bindings file as read only\n" \
-		"  -b fil  bindings file location\n" \
-		"  -w      remove a device from the wwids file\n" \
-		"  -W      reset the wwids file include only the current devices\n" \
-		"  -p pol  force all maps to specified path grouping policy :\n" \
-		"          . failover            one path per priority group\n" \
-		"          . multibus            all paths in one priority group\n" \
-		"          . group_by_serial     one priority group per serial\n" \
-		"          . group_by_prio       one priority group per priority lvl\n" \
-		"          . group_by_node_name  one priority group per target node\n" \
-		"  -v lvl  verbosity level\n" \
-		"          . 0 no output\n" \
-		"          . 1 print created devmap names only\n" \
-		"          . 2 default verbosity\n" \
-		"          . 3 print debug information\n" \
-		"  dev     action limited to:\n" \
-		"          . multipath named 'dev' (ex: mpath0) or\n" \
-		"          . multipath whose wwid is 'dev' (ex: 60051..)\n" \
-		"          . multipath including the path named 'dev' (ex: /dev/sda)\n" \
-		"          . multipath including the path with maj:min 'dev' (ex: 8:0)\n" \
+		"  -h      print this usage text\n"
+		"  -l      show multipath topology (sysfs and DM info)\n"
+		"  -ll     show multipath topology (maximum info)\n"
+		"  -f      flush a multipath device map\n"
+		"  -F      flush all multipath device maps\n"
+		"  -a      add a device wwid to the wwids file\n"
+		"  -c      check if a device should be a path in a multipath device\n"
+		"  -q      allow queue_if_no_path when multipathd is not running\n"
+		"  -d      dry run, do not create or update devmaps\n"
+		"  -t      dump internal hardware table\n"
+		"  -r      force devmap reload\n"
+		"  -i      ignore wwids file\n"
+		"  -B      treat the bindings file as read only\n"
+		"  -b fil  bindings file location\n"
+		"  -w      remove a device from the wwids file\n"
+		"  -W      reset the wwids file include only the current devices\n"
+		"  -p pol  force all maps to specified path grouping policy :\n"
+		"          . failover            one path per priority group\n"
+		"          . multibus            all paths in one priority group\n"
+		"          . group_by_serial     one priority group per serial\n"
+		"          . group_by_prio       one priority group per priority lvl\n"
+		"          . group_by_node_name  one priority group per target node\n"
+		"  -v lvl  verbosity level\n"
+		"          . 0 no output\n"
+		"          . 1 print created devmap names only\n"
+		"          . 2 default verbosity\n"
+		"          . 3 print debug information\n"
+		"  dev     action limited to:\n"
+		"          . multipath named 'dev' (ex: mpath0) or\n"
+		"          . multipath whose wwid is 'dev' (ex: 60051..)\n"
+		"          . multipath including the path named 'dev' (ex: /dev/sda)\n"
+		"          . multipath including the path with maj:min 'dev' (ex: 8:0)\n"
 		);
 
 }
Signature · 1 line
2.7.4
#1 lore raw

Merged.

Quoted 112 lines · Xose Vazquez Perez

Useless.

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 multipath/main.c | 64
++++++++++++++++++++++++++++----------------------------
 1 file changed, 32 insertions(+), 32 deletions(-)
multipath/main.c +0 -30
index 907a96c..0bec0d2 100644
@@ -110,38 +110,38 @@ usage (char * progname)
        fprintf (stderr,
                "\n"
                "Where:\n"
-               "  -h      print this usage text\n" \
-               "  -l      show multipath topology (sysfs and DM info)\n" \
-               "  -ll     show multipath topology (maximum info)\n" \
-               "  -f      flush a multipath device map\n" \
-               "  -F      flush all multipath device maps\n" \
-               "  -a      add a device wwid to the wwids file\n" \
-               "  -c      check if a device should be a path in a
 multipath device\n" \
-               "  -q      allow queue_if_no_path when multipathd is not
 running\n"\
-               "  -d      dry run, do not create or update devmaps\n" \
-               "  -t      dump internal hardware table\n" \
-               "  -r      force devmap reload\n" \
-               "  -i      ignore wwids file\n" \
-               "  -B      treat the bindings file as read only\n" \
-               "  -b fil  bindings file location\n" \
-               "  -w      remove a device from the wwids file\n" \
-               "  -W      reset the wwids file include only the current
 devices\n" \
-               "  -p pol  force all maps to specified path grouping
 policy :\n" \
-               "          . failover            one path per priority
 group\n" \
-               "          . multibus            all paths in one priority
 group\n" \
-               "          . group_by_serial     one priority group per
 serial\n" \
-               "          . group_by_prio       one priority group per
 priority lvl\n" \
-               "          . group_by_node_name  one priority group per
 target node\n" \
-               "  -v lvl  verbosity level\n" \
-               "          . 0 no output\n" \
-               "          . 1 print created devmap names only\n" \
-               "          . 2 default verbosity\n" \
-               "          . 3 print debug information\n" \
-               "  dev     action limited to:\n" \
-               "          . multipath named 'dev' (ex: mpath0) or\n" \
-               "          . multipath whose wwid is 'dev' (ex:

60051..)\n" \
- " . multipath including the path named 'dev' (ex:
/dev/sda)\n" \
- " . multipath including the path with maj:min
'dev' (ex: 8:0)\n" \

multipath/main.c +7 -0
+               "  -h      print this usage text\n"
+               "  -l      show multipath topology (sysfs and DM info)\n"
+               "  -ll     show multipath topology (maximum info)\n"
+               "  -f      flush a multipath device map\n"
+               "  -F      flush all multipath device maps\n"
+               "  -a      add a device wwid to the wwids file\n"
+               "  -c      check if a device should be a path in a

multipath device\n"
+ " -q allow queue_if_no_path when multipathd is not
running\n"

multipath/main.c +8 -0
+               "  -d      dry run, do not create or update devmaps\n"
+               "  -t      dump internal hardware table\n"
+               "  -r      force devmap reload\n"
+               "  -i      ignore wwids file\n"
+               "  -B      treat the bindings file as read only\n"
+               "  -b fil  bindings file location\n"
+               "  -w      remove a device from the wwids file\n"
+               "  -W      reset the wwids file include only the current

devices\n"
+ " -p pol force all maps to specified path grouping
policy :\n"
+ " . failover one path per priority
group\n"
+ " . multibus all paths in one priority
group\n"
+ " . group_by_serial one priority group per
serial\n"
+ " . group_by_prio one priority group per
priority lvl\n"
+ " . group_by_node_name one priority group per
target node\n"

multipath/main.c +9 -0
+               "  -v lvl  verbosity level\n"
+               "          . 0 no output\n"
+               "          . 1 print created devmap names only\n"
+               "          . 2 default verbosity\n"
+               "          . 3 print debug information\n"
+               "  dev     action limited to:\n"
+               "          . multipath named 'dev' (ex: mpath0) or\n"
+               "          . multipath whose wwid is 'dev' (ex: 60051..)\n"
+               "          . multipath including the path named 'dev' (ex:

/dev/sda)\n"
+ " . multipath including the path with maj:min
'dev' (ex: 8:0)\n"

                );

}
--
2.7.4