add command-line parser