ADD: parser to analyze the command-line