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

From:
Martin Pieuchot <mpi@openbsd.org>
Subject:
Re: tog(1) log by default++
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org
Date:
Fri, 28 Feb 2020 15:05:50 +0100

Download raw body.

Thread
On 20/02/20(Thu) 22:06, Christian Weisgerber wrote:
> On 2020-02-20, Stefan Sperling <stsp@stsp.name> wrote:
> 
> > I do understand why you want this. But from a maintainer's perspective
> > I am not a fan of this hack. This special case introduces side effects
> > that are not very straightforward to contain. I'd rather avoid the
> > ambiguity and force people to type the command they want to run because
> > this makes it easier to provide reasonable behaviour when errors occur.
> 
> It also introduces an ambiguity if "log" is a path.

Currently one needs to type:

	$ tog log log

With the diff that doesn't change for this case :o)  It doesn't make it
worse for this case and makes it easier for all the other ones.