bleistift2@feddit.de to memes@lemmy.worldEnglish · 1 year agoI have never seen ”/s” on lemmyfeddit.deimagemessage-square388fedilinkarrow-up1992arrow-down1312
arrow-up1680arrow-down1imageI have never seen ”/s” on lemmyfeddit.debleistift2@feddit.de to memes@lemmy.worldEnglish · 1 year agomessage-square388fedilink
minus-squaregirltwink@lemmy.worldlinkfedilinkarrow-up2arrow-down1·1 year agoAny self respecting argument parser should accept --sarcasm to mean --sarcasm=true
minus-squaregirltwink@lemmy.worldlinkfedilinkarrow-up1arrow-down1·1 year agoThe default on a boolean flag should always be false, and the presence of the flag in the args should make it true. Anything else is confusing.
minus-squarebleistift2@feddit.deOPlinkfedilinkEnglisharrow-up1arrow-down1·1 year agorm -rf / --no-preserve-root
You mean
--sarcasm=1
Any self respecting argument parser should accept
--sarcasm
to mean--sarcasm=true
Unless it defaults to false.
The default on a boolean flag should always be false, and the presence of the flag in the args should make it true. Anything else is confusing.
–no=false
deleted by creator
rm -rf / --no-preserve-root
–agree