All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fernando Fernandez Mancera <ffmancera@riseup.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org, duncan_roe@optusnet.com.au
Subject: Re: [PATCH nft] doc: update nft list plural form parameters
Date: Thu, 4 Apr 2019 14:08:42 +0200	[thread overview]
Message-ID: <32e5f702-bda5-a4ed-d0e3-e2f338556c4d@riseup.net> (raw)
In-Reply-To: <20190404120123.5d3mpuf2unlmmg6n@salvia>

Hi,

On 4/4/19 2:01 PM, Pablo Neira Ayuso wrote:
> Cc'ing Duncan, he's been helping with reviewing documentation.
> 
> On Thu, Apr 04, 2019 at 01:41:58PM +0200, Fernando Fernandez Mancera wrote:
>> Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
>> ---
>>  doc/nft.txt | 13 +++++++++----
>>  1 file changed, 9 insertions(+), 4 deletions(-)
>>
>> diff --git a/doc/nft.txt b/doc/nft.txt
>> index d162dad..36a92fe 100644
>> --- a/doc/nft.txt
>> +++ b/doc/nft.txt
>> @@ -256,6 +256,7 @@ TABLES
>>  [verse]
>>  {add | create} *table* ['family'] 'table' [ {flags 'flags'} ]
>>  {delete | list | flush} *table* ['family'] 'table'
>> +list *tables*
>>  delete *table* ['family'] handle 'handle'
>>  
>>  Tables are containers for chains, sets and stateful objects. They are identified
>> @@ -266,7 +267,8 @@ nfproto* keyword can be used to test which family (ipv4 or ipv6) context the
>>  packet is being processed in. When no address family is specified, *ip* is used
>>  by default. The only difference between add and create is that the former will
>>  not return an error if the specified table already exists while *create* will
>> -return an error.
>> +return an error. The plural form of list can be used to list all the existing
>> +tables.
> 
> Not sure we need this sentence, I mean, not sure if reader will
> correlate this with 'list tables'.
> 
> Probably just adding:
> 
> list *tables*
> 
> and so on, for other objects in the [verse] area is just enough.
> 

But do you think we need to keep the stateful objects one? If not, how
should we state that a plural form can be used with stateful objects?
Thanks!

>> @@ -609,7 +613,8 @@  delete type ['family'] 'table' handle 'handle'
>>  
>>  Stateful objects are attached to tables and are identified by an unique name.
>>  They group stateful information from rules, to reference them in rules the
>> -keywords "type name" are used e.g. "counter name".
>> +keywords "type name" are used e.g. "counter name". The plural form can be used
>> +to list all exisiting stateful objects e.g "list counters".
>>  
>>  [horizontal]
>>  *add*:: Add a new stateful object in the specified table.
> Thanks!
> 

  reply	other threads:[~2019-04-04 12:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-04 11:41 [PATCH nft] doc: update nft list plural form parameters Fernando Fernandez Mancera
2019-04-04 12:01 ` Pablo Neira Ayuso
2019-04-04 12:08   ` Fernando Fernandez Mancera [this message]
2019-04-05 13:15     ` Pablo Neira Ayuso
2019-04-08  1:21   ` Duncan Roe
2019-04-08 21:37     ` Pablo Neira Ayuso

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=32e5f702-bda5-a4ed-d0e3-e2f338556c4d@riseup.net \
    --to=ffmancera@riseup.net \
    --cc=duncan_roe@optusnet.com.au \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.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 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.