Skip to contentSkip to conversation

master - clvmd: remove -v option from getopt

PATCH Zdenek Kabelac 1 participant 1 message Nov 16, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=376892ddf8e6a1c3e50240193d6df63418d9392d
Commit:        376892ddf8e6a1c3e50240193d6df63418d9392d
Parent:        e31f4b76f470c7da7328d16551cfaba9cae4674a
Author:        St??phane Aulery <[email protected]>
AuthorDate:    Tue Nov 25 02:57:22 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Nov 16 01:15:03 2015 +0100

clvmd: remove -v option from getopt

-V is documented, not -v.

---
 daemons/clvmd/clvmd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
daemons/clvmd/clvmd.c +1 -1
index 96cb697..3f21aba 100644
@@ -374,7 +374,7 @@ int main(int argc, char *argv[])
 	/* Deal with command-line arguments */
 	opterr = 0;
 	optind = 0;
-	while ((opt = getopt_long(argc, argv, "vVhfd:t:RST:CI:E:",
+	while ((opt = getopt_long(argc, argv, "Vhfd:t:RST:CI:E:",
 				  longopts, NULL)) != -1) {
 		switch (opt) {
 		case 'h':