"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: add histedit -e option
To:
Josh Rickmar <openbsd+lists@zettaport.com>
Cc:
gameoftrees@openbsd.org
Date:
Fri, 1 Oct 2021 08:23:37 +0200

Download raw body.

Thread
On Thu, Sep 30, 2021 at 08:11:25PM -0400, Josh Rickmar wrote:
> > @@ -10064,7 +10071,15 @@ cmd_histedit(int argc, char *argv[])
> >  	if (fold_only && edit_logmsg_only)
> >  		option_conflict('f', 'm');
> >  	if (edit_script_path && fold_only)
> > -		option_conflict('F', 'f');
> > +		option_conflict('F', 'e');
> 
> this should remain the same, otherwise:
> 
> $ got he -F script -f
> got: -F and -e options are mutually exclusive

Nice catch, thanks!

> ok except for the one inline comment.

Thank you, it is in now.