Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | main: enforce options before commands | Pablo Neira Ayuso | 2019-12-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | This patch turns on POSIXLY_CORRECT on the getopt parser to enforce options before commands. Users get a hint in such a case: # nft list ruleset -a Error: syntax error, options must be specified before commands nft list ruleset -a ^ ~~ This patch recovers 9fc71bc6b602 ("main: Fix for misleading error with negative chain priority"). Tests have been updated. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | tests/shell: add tests for handles and comments | Arturo Borrero | 2015-12-25 | 1 | -0/+10 |
Here some tests for optional things like rule handles and comments. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |