added -l arg to return a list of all saved cmds