Linux-WPAN Archive on lore.kernel.org
 help / color / 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	[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, back to index

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

Linux-WPAN Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-wpan/0 linux-wpan/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-wpan linux-wpan/ https://lore.kernel.org/linux-wpan \
		linux-wpan@vger.kernel.org
	public-inbox-index linux-wpan

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-wpan


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git