All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH wpan-tools] wpan-hwsim: fix long option argument option for dot
@ 2018-10-16 15:38 Alexander Aring
  2018-10-24 15:28 ` Stefan Schmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Aring @ 2018-10-16 15:38 UTC (permalink / raw)
  To: stefan; +Cc: linux-wpan, Alexander Aring

This patch fixes the long option argument option to no argument. The dot
argument doesn't require any postponed argument.

Signed-off-by: Alexander Aring <aring@mojatatu.com>
---
 wpan-hwsim/wpan-hwsim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wpan-hwsim/wpan-hwsim.c b/wpan-hwsim/wpan-hwsim.c
index dcddb09..3e54348 100644
--- a/wpan-hwsim/wpan-hwsim.c
+++ b/wpan-hwsim/wpan-hwsim.c
@@ -393,7 +393,7 @@ int main(int argc, const char *argv[])
 		static struct option long_options[] = {
 			{"help",	no_argument,		0,	'h' },
 			{"version",	no_argument,		0,	'v' },
-			{"dot",		required_argument,	0,	'd' },
+			{"dot",		no_argument,		0,	'd' },
 			{"ignore",	required_argument,	0,	'i' },
 			{0,				0,	0,	0 }
 		};
-- 
2.11.0

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

* Re: [PATCH wpan-tools] wpan-hwsim: fix long option argument option for dot
  2018-10-16 15:38 [PATCH wpan-tools] wpan-hwsim: fix long option argument option for dot Alexander Aring
@ 2018-10-24 15:28 ` Stefan Schmidt
  2018-10-24 16:03   ` Alexander Aring
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Schmidt @ 2018-10-24 15:28 UTC (permalink / raw)
  To: Alexander Aring; +Cc: linux-wpan

Hello.

On 16/10/2018 17:38, Alexander Aring wrote:
> This patch fixes the long option argument option to no argument. The dot
> argument doesn't require any postponed argument.
> 
> Signed-off-by: Alexander Aring <aring@mojatatu.com>
> ---
>  wpan-hwsim/wpan-hwsim.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/wpan-hwsim/wpan-hwsim.c b/wpan-hwsim/wpan-hwsim.c
> index dcddb09..3e54348 100644
> --- a/wpan-hwsim/wpan-hwsim.c
> +++ b/wpan-hwsim/wpan-hwsim.c
> @@ -393,7 +393,7 @@ int main(int argc, const char *argv[])
>  		static struct option long_options[] = {
>  			{"help",	no_argument,		0,	'h' },
>  			{"version",	no_argument,		0,	'v' },
> -			{"dot",		required_argument,	0,	'd' },
> +			{"dot",		no_argument,		0,	'd' },
>  			{"ignore",	required_argument,	0,	'i' },
>  			{0,				0,	0,	0 }
>  		};
> 

Applied to wpan-tools repo.

Is there anythign else left you wanted to have in before we look into a
new release?

regards
Stefan Schmidt

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

* Re: [PATCH wpan-tools] wpan-hwsim: fix long option argument option for dot
  2018-10-24 15:28 ` Stefan Schmidt
@ 2018-10-24 16:03   ` Alexander Aring
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Aring @ 2018-10-24 16:03 UTC (permalink / raw)
  To: Stefan Schmidt; +Cc: linux-wpan

Hi,

On Wed, Oct 24, 2018 at 05:28:59PM +0200, Stefan Schmidt wrote:
> Hello.
> 
> On 16/10/2018 17:38, Alexander Aring wrote:
> > This patch fixes the long option argument option to no argument. The dot
> > argument doesn't require any postponed argument.
> > 
> > Signed-off-by: Alexander Aring <aring@mojatatu.com>
> > ---
> >  wpan-hwsim/wpan-hwsim.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/wpan-hwsim/wpan-hwsim.c b/wpan-hwsim/wpan-hwsim.c
> > index dcddb09..3e54348 100644
> > --- a/wpan-hwsim/wpan-hwsim.c
> > +++ b/wpan-hwsim/wpan-hwsim.c
> > @@ -393,7 +393,7 @@ int main(int argc, const char *argv[])
> >  		static struct option long_options[] = {
> >  			{"help",	no_argument,		0,	'h' },
> >  			{"version",	no_argument,		0,	'v' },
> > -			{"dot",		required_argument,	0,	'd' },
> > +			{"dot",		no_argument,		0,	'd' },
> >  			{"ignore",	required_argument,	0,	'i' },
> >  			{0,				0,	0,	0 }
> >  		};
> > 
> 
> Applied to wpan-tools repo.
> 
> Is there anythign else left you wanted to have in before we look into a
> new release?
> 

no I might figure them out when debian backports ship 4.19 kernel.

- Alex

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

end of thread, other threads:[~2018-10-25  0:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-16 15:38 [PATCH wpan-tools] wpan-hwsim: fix long option argument option for dot Alexander Aring
2018-10-24 15:28 ` Stefan Schmidt
2018-10-24 16:03   ` Alexander Aring

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.