From 7ad62b15700f728c9b79c83a8679d2e66dc4a53b Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 10 Dec 2024 12:09:07 -0800 Subject: [PATCH] Fixed bug where --no-backup was not turning off backups --- internetarchive/cli/ia_delete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internetarchive/cli/ia_delete.py b/internetarchive/cli/ia_delete.py index f61751e9..6f2eb0a9 100644 --- a/internetarchive/cli/ia_delete.py +++ b/internetarchive/cli/ia_delete.py @@ -81,7 +81,7 @@ def setup(subparsers): default=2, help="Number of retries on S3 503 SlowDown error.") parser.add_argument("--no-backup", - action="store_false", + action="store_true", help="Turn off archive.org backups. Clobbered files will not be saved.") parser.set_defaults(func=lambda args: main(args, parser))