unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: control@debbugs.gnu.org, Tobias Geerinckx-Rice <me@tobias.gr>,
	"Perry, Daniel J" <dperry45@gatech.edu>,
	66358@debbugs.gnu.org
Subject: bug#66358: Some options are really subcommands + ignore arguments
Date: Tue, 24 Oct 2023 18:39:29 +0200	[thread overview]
Message-ID: <87o7goht4u.fsf@gmail.com> (raw)
In-Reply-To: <87h6mg3wlp.fsf_-_@gmail.com>

Hi,

On Tue, 24 Oct 2023 at 10:48, Maxim Cournoyer <maxim.cournoyer@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@gmail.com>
  Tue, 24 Oct 2023 18:33:10 +0200
  id:5c26f17bbf1b4cf9872b4a782295260ce337d3fd.1698165008.git.zimon.toutoune@gmail.com
  https://issues.guix.gnu.org/66592
  https://issues.guix.gnu.org/msgid/5c26f17bbf1b4cf9872b4a782295260ce337d3fd.1698165008.git.zimon.toutoune@gmail.com
  https://yhetil.org/guix/5c26f17bbf1b4cf9872b4a782295260ce337d3fd.1698165008.git.zimon.toutoune@gmail.com

Cheers,
simon




  reply	other threads:[~2023-10-24 18:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-05  3:35 bug#66358: Can't import package using archive command Perry, Daniel J
2023-10-09 12:25 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2023-10-11 23:27   ` Simon Tournier
2023-10-24 14:48     ` bug#66358: Some options are really subcommands + ignore arguments Maxim Cournoyer
2023-10-24 16:39       ` Simon Tournier [this message]
2023-10-09 12:32 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2023-10-09 16:52 ` bug#66358: Now what about firmware? Perry, Daniel J

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7goht4u.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=66358@debbugs.gnu.org \
    --cc=control@debbugs.gnu.org \
    --cc=dperry45@gatech.edu \
    --cc=maxim.cournoyer@gmail.com \
    --cc=me@tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).