wpkg --no-force-all | --refuse-all ...

The --no-force-all option prevents all the --force-... options. This is true no matter what. That is, the option can appear first or last on the command line and it will always have exactly the same effect: prevent ALL --force-... options. The reason for this behavior is because this is the default and it is considered safe.

This option is not exactly the opposite of the --force-all since the --force-all does not force the --force-overwrite-dir option whereas the --no-force-all does prevent it.

This option is particularly useful on a command line where outside users may be able to add other options, including the --force-... options, and the software would not otherwise be sure that the packager is still being used in a safe manner.

--refuse-all is an exact equivalent.

Syndicate content