blocksync icon indicating copy to clipboard operation
blocksync copied to clipboard

Wait for real confirmation at the warning "DESTINATION WILL BE PERMANENTLY CHANGED!"

Open klemens-u opened this issue 7 years ago • 1 comments

Connected to https://github.com/theraser/blocksync/issues/9

Add option to disable "DESTINATION WILL BE PERMANENTLY CHANGED!" #9

If the above change would be implemented it would make to sense to wait for a real user input to make the command safer. Example:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!                                          !!!
!!! DESTINATION WILL BE PERMANENTLY CHANGED! !!!
!!!         DO YOU WANT TO PROCEED? Y/n      !!!
!!!                                          !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

klemens-u avatar Feb 22 '18 12:02 klemens-u

yes, i think it's unfortunate that there is a warning printed and then ist starts automatically if you are not quick enough.

but i can see the intention - you have a chance to interrupt if you accidentally select the last command from shell history for example.

anyhow, having timeout in a tool which does destructive operation is not something i did see in 20 years of unix, normally you would be interactively queried as you suggest or you would typically need to specify "-y" (= yes, i'm really sure, i know what i'm doing)

devZer0 avatar Oct 10 '22 11:10 devZer0