All of lore.kernel.org
 help / color / mirror / Atom feed
* [multipath-tools] [patch] getopt cleanup
@ 2006-06-02  0:19 Benjamin Marzinski
  2006-06-10  6:40 ` Christophe Varoqui
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Marzinski @ 2006-06-02  0:19 UTC (permalink / raw)
  To: dm-devel

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]

'q' and 'i' are never used, so don't accept them as valid options

-Ben

[-- Attachment #2: getopt_cleanup.patch --]
[-- Type: text/plain, Size: 532 bytes --]

diff -urpN mp-devel-clean/multipath/main.c mp-devel-patched/multipath/main.c
--- mp-devel-clean/multipath/main.c	2006-04-03 14:10:39.000000000 -0500
+++ mp-devel-patched/multipath/main.c	2006-06-01 12:49:54.000000000 -0500
@@ -321,7 +321,7 @@ main (int argc, char *argv[])
 	if (load_config(DEFAULT_CONFIGFILE))
 		exit(1);
 
-	while ((arg = getopt(argc, argv, ":qdl::Ffi:M:v:p:b:")) != EOF ) {
+	while ((arg = getopt(argc, argv, ":dl::FfM:v:p:b:")) != EOF ) {
 		switch(arg) {
 		case 1: printf("optarg : %s\n",optarg);
 			break;

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [multipath-tools] [patch] getopt cleanup
  2006-06-02  0:19 [multipath-tools] [patch] getopt cleanup Benjamin Marzinski
@ 2006-06-10  6:40 ` Christophe Varoqui
  0 siblings, 0 replies; 2+ messages in thread
From: Christophe Varoqui @ 2006-06-10  6:40 UTC (permalink / raw)
  To: device-mapper development

Le jeudi 01 juin 2006 à 19:19 -0500, Benjamin Marzinski a écrit :
> 'q' and 'i' are never used, so don't accept them as valid options
> 
> -Ben
> --

Applied.
Thanks,
cvaroqui

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-10  6:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-02  0:19 [multipath-tools] [patch] getopt cleanup Benjamin Marzinski
2006-06-10  6:40 ` Christophe Varoqui

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.