simont

 [ userinfo | dreamwidth userinfo ] [ archive | journal archive ]

 Wed 2014-07-30 12:35 I think the canonical example of a "work properly" option that you always supply is in the Windows command line cd command, the "/D" option.You technically don't always need to supply it, because "cd newdir" or even "cd ..\..\path\to\newdir" work. But for some unknown reason, the command line keeps a "cd" for each drive. And so "cd S:\temp" will not change your current directory to S:\temp; it'll just mean that the next time you go "S:", your current directory will be S:\temp."cd /D S:\temp", on the other hand, actually changes your current directory. Why /D isn't the default... I can vaguely picture some trains of thought that could have led to the design, but they're all abysmal and it should never have been let out like that. Link Read Comments