Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > 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 FWIW i like this better than the attempt to sanitize/escape argv[].