Scope 'all' confirmation to its own action so Rename's A-for-all doesn't skip Clean's prompts
This commit is contained in:
1 parent
605cd84707
commit
a2fc8d002d
1 file changed
+4
@@ -5437,7 +5437,9 @@ def run_interactive_menu():
|
|||||||
elif action == "3":
|
elif action == "3":
|
||||||
args.rename = share
|
args.rename = share
|
||||||
args.cleanup = share
|
args.cleanup = share
|
||||||
|
original_yes = args.yes
|
||||||
run_scan(args, log)
|
run_scan(args, log)
|
||||||
|
args.yes = original_yes
|
||||||
print()
|
print()
|
||||||
run_cleanup(args, log)
|
run_cleanup(args, log)
|
||||||
elif action == "4":
|
elif action == "4":
|
||||||
@@ -5518,7 +5520,9 @@ def main():
|
|||||||
share = resolve_share(path_arg)
|
share = resolve_share(path_arg)
|
||||||
args.rename = share
|
args.rename = share
|
||||||
args.cleanup = share
|
args.cleanup = share
|
||||||
|
original_yes = args.yes
|
||||||
run_scan(args, log)
|
run_scan(args, log)
|
||||||
|
args.yes = original_yes
|
||||||
print()
|
print()
|
||||||
run_cleanup(args, log)
|
run_cleanup(args, log)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in new issue
Block a user