improved cli consistency in the add function