fix(main): cmd-line parsing