--no-X, --without-X (Negation flag): Disable a feature that is on by default. Many command-line tools switch a feature on by default and give you a --no- flag to turn it off. git commit --no-verify skips the commit hooks. npm install --no-save installs a package without adding it to package.json. git log --no-merges hides merge commits.
Frequently asked questions about --no-X, --without-X (Negation flag)
How is --no-X, --without-X (Negation flag) used in practice?
The pattern is useful because you can read it without the manual. If a tool has --color, there is a good chance --no-color also exists. Some tools use --without- instead, especially build scripts, as in ./configure --without-ssl.
What should you keep in mind with --no-X, --without-X (Negation flag)?
Be careful with flags that skip a safety step. --no-verify exists for emergencies, but if you use it every day, the hook it skips is either broken or in the wrong place. Fix the hook rather than training yourself to step around it.
Use before running or suggesting shell commands with flags, especially destructive or broad ones (-f/--force, -r/-R recursive, -a/--all, -y/--yes, prune, --hard), and when a user asks what a flag means (-v, -q, -n/--dry-run, -h, -o, -p, -t, -u, -w, -x, -c, -i). Explains flags per tool and prefers dry runs and narrow scopes.
Use this skill before running, or recommending, any Docker command that deletes, wipes, resets, or otherwise irreversibly changes state — even if the user just says to "clean up", "clear the cache", "start fresh", "wipe everything", "nuke it", "reset", "force remove", or "tear down" Docker resources. Covers generic Docker CLI destructive operations not owned by a more specific skill — `docker rm`,
Master ShellCheck static analysis configuration and usage for shell script quality. Use when setting up linting infrastructure, fixing code issues, or ensuring script portability.