No, this is bad UX. The asymmetry violates the principle of least surprise.
What --all conventionally means:
A flag like --all should modify the scope or filtering of output, not the fundamental preconditions for the command to execute. Users expect flags to be additive or parametric modifications to a base behavior.
Examples of expected behavior:
| Command | Without flag | With --all / -a |
|---|---|---|
ls vs ls -a |
Shows visible files | Also shows hidden files |
