bleistift2@feddit.de to memes@lemmy.worldEnglish · 1 year agoI have never seen ”/s” on lemmyfeddit.deimagemessage-square328fedilinkarrow-up11.01Karrow-down1319
arrow-up1693arrow-down1imageI have never seen ”/s” on lemmyfeddit.debleistift2@feddit.de to memes@lemmy.worldEnglish · 1 year agomessage-square328fedilink
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.
deleted by creator
–no=false
rm -rf / --no-preserve-root
–agree