title: Java command line arguments in --key=value format
body: <p>Is there a smart/easy way to use command line arguments in the --key=value format? I just quickly threw together a check for args[i] to see if it contains one of my keys, then grab the value for that key and set a variable for it, but there's gotta be a better way. I can't seem to find anything good with googling, so I must be searching the wrong thing. Any ideas/insight?</p>
  
  <p>Thanks!</p>