doc: fix synopsis for ct expression
PATCH 1/1 doc: fix synopsis for ct expression
From: Anders K. Pedersen <[email protected]>
The nft man page command synopsis for the ct expression is currently:
ct {state | direction | status | mark | expiration | helper | label |
bytes | packets} {original | reply | {l3proto | protocol | saddr |
daddr | proto-src | proto-dst | bytes | packets}}which is not correct for the arguments that should be prefixed with "original" or "reply". Change this to
ct {state | direction | status | mark | expiration | helper | label |
l3proto | protocol | bytes | packets}
ct {original | reply} {l3proto | protocol | saddr | daddr | proto-src |
proto-dst | bytes | packets}
Signed-off-by Anders K. Pedersen <[email protected]>
--- doc/nft.xml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-)
doc/nft.xml +15 -10
@@ -1971,22 +1971,27 @@ filter output oif eth0 <arg>expiration</arg> <arg>helper</arg> <arg>label</arg> + <arg>l3proto</arg> + <arg>protocol</arg> <arg>bytes</arg> <arg>packets</arg> </group> + </cmdsynopsis> + <cmdsynopsis> + <command>ct</command> <group choice="req"> <arg>original</arg> <arg>reply</arg> - <group choice="req"> - <arg>l3proto</arg> - <arg>protocol</arg> - <arg>saddr</arg> - <arg>daddr</arg> - <arg>proto-src</arg> - <arg>proto-dst</arg> - <arg>bytes</arg> - <arg>packets</arg> - </group> + </group> + <group choice="req"> + <arg>l3proto</arg> + <arg>protocol</arg> + <arg>saddr</arg> + <arg>daddr</arg> + <arg>proto-src</arg> + <arg>proto-dst</arg> + <arg>bytes</arg> + <arg>packets</arg> </group> </cmdsynopsis> </para>