syntax help and some cmd-line parsing