From 96f7ebf4fc7ec5085efdbd3a86b8f89456837a9a Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 17 Nov 2025 14:11:32 +1100 Subject: [PATCH] Use args.force, not args.f --- src/resrm/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resrm/core.py b/src/resrm/core.py index 0a81070..8f789c4 100644 --- a/src/resrm/core.py +++ b/src/resrm/core.py @@ -432,7 +432,7 @@ def main(argv: Optional[List[str]] = None): pth = Path(p) # simplistic recursive handling: if -r not given and it's a directory, mimic rm behavior: error unless -r if pth.is_dir() and not args.r: - if args.f: + if args.force: continue print(f"resrm: cannot remove '{pth}': Is a directory") continue -- 2.49.1