reset.c: finish entire cmd_reset() whether or not pathspec is given