xbps icon indicating copy to clipboard operation
xbps copied to clipboard

The ergonomics of xbps-remove -F

Open thasreal opened this issue 3 months ago • 1 comments

Pardon me, but if xbps-remove -F is such a potentially dangerous option, should it really be bound to the same letter as the shortened version of --force? Someone might absent-mindedly hit the shift key when he intends to enter a less risky command and accidentally mess up his system. My guess is that it's rarely used enough that removing -F and keeping --force-revdeps as a longer, more intentionally-typed option wouldn't be much of a hassle for users outside maybe messing up someone's bash script. That in itself would be annoying, but much less so than an accidental use of -F in the wrong place.

thasreal avatar Oct 28 '25 00:10 thasreal

-f is force removal. -F is the same but with more emphasis. What's the problem? When you start with --force you get -f not -F as the shortened version.

Vaelatern avatar Oct 28 '25 01:10 Vaelatern