View Single Post
Old 07-23-2012, 09:40 AM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,095
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by shotsky View Post
I take it then, that no spaces are used between options. The problem I have is that it is not clear how to separate options, what tags start new options. I can't believe how many things I tried that didn't work. Maybe the software could detect an attempt at something such as -'input-default' and either suggest the correct format, or just USE it and do the correct thing? Software that simply refuses to funtion, or tells you 'you are stupid, you did it wrong' without telling you what is right, is just a waste. I have spent many hours trying to figure out the secret to command lines, when it would have been so simple to document it in the first place, and even easier to recognize correct commands with incorrect leadins or separations and either do the right thing, or tell the user what the hell is wrong.
John
1 space between each option (switch), 1 space to the first argument after the switch, commas with no space for additional values.
quote each argument value with spaces: "two words","three small words",word
pretty much common CLI (MSDOS uses a colon after the switch that has values
Code:
xcopy  /EXCLUDE:file1[+file2][+file3]
and chains them with a +)
theducks is offline   Reply With Quote