fix: tighten mtm-ddwipe usage and device checks

Add an explicit mounted-device check with findmnt, shorten confirmation prompts, and align the usage text and log wording with the current script name.
This commit is contained in:
2026-04-27 23:40:28 +02:00
parent 55c55a4a08
commit 956cfd7325
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ description: mtm-ddwipe project conventions
- Keep user-facing messages short and clear.
- Keep error and help messages short and clear.
- Prefer minimal, focused changes that preserve intent.
- Keep `.continue/rules/project.md` aligned with project conventions and concise.
- Keep `.continue/rules/project.md` aligned and concise.
- `mtm-ddwipe` is a small Bash script with helper functions.
- Keep the host and line-number removal behavior intact for related output processing.
- `mtm-ddwipe` must print a usage line and support `-h`/`--help`.