Re: [Refdb-users] to quote or not to quote (Curious refdbc -C "getref ..." behaviour)
Status: Beta
Brought to you by:
mhoenicka
|
From: Marc H. <mar...@fr...> - 2004-03-31 08:12:57
|
On Wed, 31 Mar 2004, Markus Hoenicka wrote:
> > --- refdbc.c 2003/03/11 18:50:42 1.1
> > +++ refdbc.c 2003/03/11 21:07:58
> > @@ -338,6 +338,11 @@
> > the_pager[PREFS_BUF_LEN-1] = '\0';
> > break;
> > case 'C':
> > + if (!find_command(optarg, commands))
> > + {
> > + fprintf (stderr, "%s: No such command for refdb.\n", optarg);
> > + return (-1);
> > + }
> > strncpy(the_cmd, optarg, 31);
> > the_cmd[31] = '\0';
> > n_batchmode = 1;
>
> This unfortunately breaks the refdbc -C "getref -h" workaround. I'll
> have to figure out a way to have both, not one or the other.
But this does not break:
refdbc -C getref -h
which is the documented syntax, right ?
I'm confused.
|