Apple. Apple please. You can't use the same short flag for two different things. Apple *please*
Apple. Apple please. You can't use the same short flag for two different things. Apple *please* 76 comments
@citty @misty This is codesign, a tool for generating code signatures. I donβt think any of the other options would make sense with verifying a signature. Donβt get me wrong, this is incredibly bad design. I just doubt it could be a security hole like you would normally expect not verifying a signature to be. @artandtechnic The -v flag accidentally doing the wrong thing based on argument order is an INCREDIBLE footgun @misty Iβm legitimately impressed. This single man page entry deserves its own βstop doing mathβ meme. Python did this better, in that -v is verbose and -V is version, except I can't never remember which is which and I get Mandela'd to a different timeline where they have switched everytime I check @misty@digipres.club whar β:neocat_flop:β what tool is this lol @misty This problem was solved decades ago with lowercase 'v' and uppercase 'V'... @dressupgeekout @misty there are so many v's to choose from! codesign -v -V -π -π· -π -π£ -π -π -πΏ -π§ -β₯ -π ₯ -α― -π -π -α΄ -α― -β -α΅ -β±½ -π -β -π -π₯ -π± -π½ -π -π -π -π -π© what. (though I must say that saying "in the classic UNIX style" in the same manpage as, uh, that is pretty close to peak chutzpah.) @misty WHY TH EFUCK ISN'T VERIFY A COMMAND INSTEAD edit: that was a typo but i feel like it fits so imma just roll with it @misty@digipres.club if it makes anybody here feel any better, using Remove-Item or "rm" in windows, you cant just specify "rm -rf", because -rf is unknown, and -f is BOTH -Filter and -Force This is just cursed. Of all the obscurata that I have to teach, I'm glad this isn't one of them. I never want to hear another computer person complain to me that lawyers deliberately make documents difficult to understand. I mean, this, this is... this is sufficiently serpentine that it can only be considered a work of the highest art. @misty That is crazy. Why not just go full "Apple way" and eliminate the short flags, at least for the verify? The 'softwareupdate' command shows the way. @misty @misty does -v -v -v increment two times the verbosity of a signature verification ? @misty@digipres.club wait: the first @misty Theyβre not actually the same character. Neither of them is a Latin letter v, they are both from different Unicode planes that happen to look like a v. What? Itβs not like the real explanation makes more sense! |
@misty make all the flags "-v" and interpret their meaning based on context. It's easier to remember, and Apple as always been about simplifying the users' life, right? ;)