Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
klemens-u opened this issue Feb 22, 2018 · 1 comment

Comments

@klemens-u
Copy link
Contributor

Connected to #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      !!!
!!!                                          !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@devZer0
Copy link

devZer0 commented Oct 10, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants