GNU bug report logs - #66358
Some options are really subcommands + ignore arguments

Previous Next

Package: guix;

Reported by: "Perry, Daniel J" <dperry45 <at> gatech.edu>

Date: Thu, 5 Oct 2023 05:14:03 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: control <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>, "Perry, Daniel J" <dperry45 <at> gatech.edu>, 66358 <at> debbugs.gnu.org
Subject: bug#66358: Some options are really subcommands + ignore arguments
Date: Tue, 24 Oct 2023 18:39:29 +0200
Hi,

On Tue, 24 Oct 2023 at 10:48, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:

> It seems a reasonable improvement to me, but I think *all* the
> incompatible errors should be accumulated and printed in one go.

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix archive --import --authorize hello --export < /tmp/hello.nar
guix archive: error: the options 'import' 'export' 'authorize' are exclusive
--8<---------------cut here---------------end--------------->8---

See v2 in #66592.

  [bug#66592] [PATCH v2] scripts: archive: Check compatibility of command line options.
  Simon Tournier <zimon.toutoune <at> gmail.com>
  Tue, 24 Oct 2023 18:33:10 +0200
  id:5c26f17bbf1b4cf9872b4a782295260ce337d3fd.1698165008.git.zimon.toutoune <at> gmail.com
  https://issues.guix.gnu.org/66592
  https://issues.guix.gnu.org/msgid/5c26f17bbf1b4cf9872b4a782295260ce337d3fd.1698165008.git.zimon.toutoune <at> gmail.com
  https://yhetil.org/guix/5c26f17bbf1b4cf9872b4a782295260ce337d3fd.1698165008.git.zimon.toutoune <at> gmail.com

Cheers,
simon




This bug report was last modified 1 year and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.