Re: [PATCH wpan-tools] wpan-hwsim: fix long option argument option for dot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
> ---
>  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




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux