logoalt Hacker News

ElevenLatheyesterday at 11:58 PM2 repliesview on HN

I usually do the opposite and add a --really flag to my CLI utilities, so that they are read-only by default and extra effort is needed to screw things up.


Replies

eichintoday at 12:45 AM

I've committed "--i-meant-that" (for a destroy-the-remote-machine command that normally (without the arg) gives you a message and 10s to hit ^C if you're not sure, for some particularly impatient coworkers. Never ended up being used inappropriately, which is luck (but we never quantified how much luck :-)

show 1 reply
weikjutoday at 12:15 AM

Came here to say the same