check args in cli