From a1566b404cfc896e4c57c4786ce8ec6cc91fc5b7 Mon Sep 17 00:00:00 2001 From: Christophe Varoqui Date: Fri, 21 Oct 2005 11:49:19 +0200 Subject: [PATCH] [multipath] Fix -F appearing twice in the multipath -h output multipath -h shows 2 options using "-F", where only one of them should be using -F and another -f. Redhat Bugzilla #171366. B. Nocera, Redhat --- multipath/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multipath/main.c b/multipath/main.c index d1dcbe2..15d6f1f 100644 --- a/multipath/main.c +++ b/multipath/main.c @@ -839,7 +839,7 @@ usage (char * progname) "\t-d\t\tdry run, do not create or update devmaps\n" \ "\t-l\t\tshow multipath topology (sysfs and DM info)\n" \ "\t-ll\t\tshow multipath topology (maximum info)\n" \ - "\t-F\t\tflush a multipath device map\n" \ + "\t-f\t\tflush a multipath device map\n" \ "\t-F\t\tflush all multipath device maps\n" \ "\t-p policy\tforce all maps to specified policy :\n" \ "\t failover\t\t1 path per priority group\n" \ @@ -1084,10 +1084,10 @@ main (int argc, char *argv[]) conf->dry_run = 1; break; case 'f': - conf->remove = 1; + conf->remove = FLUSH_ONE; break; case 'F': - conf->remove = 2; + conf->remove = FLUSH_ALL; break; case 'l': conf->list = 1; -- 2.7.4