netblue30 / firejail

Linux namespaces and seccomp-bpf sandbox
https://firejail.wordpress.com
GNU General Public License v2.0
5.83k stars 568 forks source link

build: sort.py: use -i by default and add -n #6339

Closed kmk3 closed 6 months ago

kmk3 commented 6 months ago

Overwrite in-place by default (-i) and add -n to override it.

This restores the previous default behavior (from 0.9.72), for the sake of being consistent with all previous versions and because it's more likely to be the desired behavior in most cases.

This amends commit aa08aa132 ("build: sort.py: add and require -i to edit in-place (#6290)", 2024-03-25).

Support "--" to end options and fail if an unknown option is given.