On Thu, 22 Jan 2015 19:59:55 +0100, Doug Evans wrote: > I think you're splitting hairs here. > > > + if (cmd != NULL && (check_for_argument (&cmd, "-ascending", strlen ("-asc")))) > > strlen ("-ascending") OK, thanks. GDB still cannot use starts_with(). > Also, remove the extra parens around check_for_argument? Yes. Jan