cli argument logic