netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: gapsf <gapsf@yandex.ru>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] fix filenames typo in print_usage and file header
Date: Sat, 29 Jun 2013 12:30:33 +0200	[thread overview]
Message-ID: <20130629103033.GB5687@localhost> (raw)
In-Reply-To: <1166283489.20130619142210@yandex.ru>

On Wed, Jun 19, 2013 at 02:22:10PM +0700, gapsf wrote:
> From ccb45b16c88959737670ef79e5aba47c406b2f70 Mon Sep 17 00:00:00 2001
> From: gapsf <gapsf@yandex.ru>
> Date: Thu, 13 Jun 2013 22:30:34 +0700
> Subject: [PATCH] fix filenames typo in print_usage and file header
> 
> ---
>  src/nf-table-add.c         | 2 +-
>  src/nf-table-delete.c      | 2 +-
>  src/nl-cls-delete.c        | 2 +-
>  src/nl-link-list.c         | 2 +-
>  src/nl-link-name2ifindex.c | 2 +-
>  src/nl-rule-list.c         | 2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/src/nf-table-add.c b/src/nf-table-add.c
> index 58ce30f..2989503 100644
> --- a/src/nf-table-add.c
> +++ b/src/nf-table-add.c
> @@ -17,7 +17,7 @@
>  static void print_usage(void)
>  {
>         printf(
> -       "Usage: nf-ct-add <family> <name>\n"
> +       "Usage: nf-table-add <family> <name>\n"
>         );
>         exit(1);
>  }
> diff --git a/src/nf-table-delete.c b/src/nf-table-delete.c
> index a15e772..7a49a01 100644
> --- a/src/nf-table-delete.c
> +++ b/src/nf-table-delete.c
> @@ -17,7 +17,7 @@
>  static void print_usage(void)
>  {
>         printf(
> -       "Usage: nf-ct-delete <family> <name>\n"
> +       "Usage: nf-table-delete <family> <name>\n"
>         );
>         exit(1);
>  }

Applied the two chunks above, thanks.

The remain ones belong to libnl.

> diff --git a/src/nl-cls-delete.c b/src/nl-cls-delete.c
> index cfdc170..95abd54 100644
> --- a/src/nl-cls-delete.c
> +++ b/src/nl-cls-delete.c
> @@ -18,7 +18,7 @@ static struct nl_sock *sock;
>  static void print_usage(void)
>  {
>         printf(
> -       "Usage: nl-cls-list [OPTION]... [CLASSIFIER]\n"
> +       "Usage: nl-cls-delete [OPTION]... [CLASSIFIER]\n"
>         "\n"
>         "Options\n"
>         " -i, --interactive     Run interactively\n"
> diff --git a/src/nl-link-list.c b/src/nl-link-list.c
> index 5e1e3f6..2f30aad 100644
> --- a/src/nl-link-list.c
> +++ b/src/nl-link-list.c
> @@ -1,5 +1,5 @@
>  /*
> - * src/nl-link-dump.c  Dump link attributes
> + * src/nl-link-list.c  Dump link attributes
>   *
>   *     This library is free software; you can redistribute it and/or
>   *     modify it under the terms of the GNU Lesser General Public
> diff --git a/src/nl-link-name2ifindex.c b/src/nl-link-name2ifindex.c
> index b04af04..6be58e8 100644
> --- a/src/nl-link-name2ifindex.c
> +++ b/src/nl-link-name2ifindex.c
> @@ -14,7 +14,7 @@
>  
>  static void print_usage(void)
>  {
> -       printf("Usage: nl-link-ifindex2name <ifindex>\n");
> +       printf("Usage: nl-link-name2ifindex <ifindex>\n");
>         exit(0);
>  }
>  
> diff --git a/src/nl-rule-list.c b/src/nl-rule-list.c
> index 8b474fa..d4f1d79 100644
> --- a/src/nl-rule-list.c
> +++ b/src/nl-rule-list.c
> @@ -1,5 +1,5 @@
>  /*
> - * src/nl-rule-dump.c     Dump rule attributes
> + * src/nl-rule-list.c     Dump rule attributes
>   *
>   *     This library is free software; you can redistribute it and/or
>   *     modify it under the terms of the GNU Lesser General Public
> -- 
> 1.8.3.msysgit.0
>  

> From ccb45b16c88959737670ef79e5aba47c406b2f70 Mon Sep 17 00:00:00 2001
> From: gapsf <gapsf@yandex.ru>
> Date: Thu, 13 Jun 2013 22:30:34 +0700
> Subject: [PATCH] fix filenames typo in print_usage and file header
> 
> ---
>  src/nf-table-add.c         | 2 +-
>  src/nf-table-delete.c      | 2 +-
>  src/nl-cls-delete.c        | 2 +-
>  src/nl-link-list.c         | 2 +-
>  src/nl-link-name2ifindex.c | 2 +-
>  src/nl-rule-list.c         | 2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/src/nf-table-add.c b/src/nf-table-add.c
> index 58ce30f..2989503 100644
> --- a/src/nf-table-add.c
> +++ b/src/nf-table-add.c
> @@ -17,7 +17,7 @@
>  static void print_usage(void)
>  {
>  	printf(
> -	"Usage: nf-ct-add <family> <name>\n"
> +	"Usage: nf-table-add <family> <name>\n"
>  	);
>  	exit(1);
>  }
> diff --git a/src/nf-table-delete.c b/src/nf-table-delete.c
> index a15e772..7a49a01 100644
> --- a/src/nf-table-delete.c
> +++ b/src/nf-table-delete.c
> @@ -17,7 +17,7 @@
>  static void print_usage(void)
>  {
>  	printf(
> -	"Usage: nf-ct-delete <family> <name>\n"
> +	"Usage: nf-table-delete <family> <name>\n"
>  	);
>  	exit(1);
>  }
> diff --git a/src/nl-cls-delete.c b/src/nl-cls-delete.c
> index cfdc170..95abd54 100644
> --- a/src/nl-cls-delete.c
> +++ b/src/nl-cls-delete.c
> @@ -18,7 +18,7 @@ static struct nl_sock *sock;
>  static void print_usage(void)
>  {
>  	printf(
> -	"Usage: nl-cls-list [OPTION]... [CLASSIFIER]\n"
> +	"Usage: nl-cls-delete [OPTION]... [CLASSIFIER]\n"
>  	"\n"
>  	"Options\n"
>  	" -i, --interactive     Run interactively\n"
> diff --git a/src/nl-link-list.c b/src/nl-link-list.c
> index 5e1e3f6..2f30aad 100644
> --- a/src/nl-link-list.c
> +++ b/src/nl-link-list.c
> @@ -1,5 +1,5 @@
>  /*
> - * src/nl-link-dump.c	Dump link attributes
> + * src/nl-link-list.c	Dump link attributes
>   *
>   *	This library is free software; you can redistribute it and/or
>   *	modify it under the terms of the GNU Lesser General Public
> diff --git a/src/nl-link-name2ifindex.c b/src/nl-link-name2ifindex.c
> index b04af04..6be58e8 100644
> --- a/src/nl-link-name2ifindex.c
> +++ b/src/nl-link-name2ifindex.c
> @@ -14,7 +14,7 @@
>  
>  static void print_usage(void)
>  {
> -	printf("Usage: nl-link-ifindex2name <ifindex>\n");
> +	printf("Usage: nl-link-name2ifindex <ifindex>\n");
>  	exit(0);
>  }
>  
> diff --git a/src/nl-rule-list.c b/src/nl-rule-list.c
> index 8b474fa..d4f1d79 100644
> --- a/src/nl-rule-list.c
> +++ b/src/nl-rule-list.c
> @@ -1,5 +1,5 @@
>  /*
> - * src/nl-rule-dump.c     Dump rule attributes
> + * src/nl-rule-list.c     Dump rule attributes
>   *
>   *	This library is free software; you can redistribute it and/or
>   *	modify it under the terms of the GNU Lesser General Public
> -- 
> 1.8.3.msysgit.0
> 


      reply	other threads:[~2013-06-29 10:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-19  7:22 [PATCH] fix filenames typo in print_usage and file header gapsf
2013-06-29 10:30 ` Pablo Neira Ayuso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130629103033.GB5687@localhost \
    --to=pablo@netfilter.org \
    --cc=gapsf@yandex.ru \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).