unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: swedebugia <swedebugia@riseup.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Listing all packages with --search now impossible
Date: Fri, 25 Jan 2019 23:05:51 +0100	[thread overview]
Message-ID: <87ef90v1ds.fsf@elephly.net> (raw)
In-Reply-To: <9ec3d20a-b40f-e164-5c84-fcdc7cc026bd@riseup.net>


Hi swedebugia,

<swedebugia@riseup.net> writes:

> Yesterday when I played around with guix I noticed that the default
> behavior of
> $ guix package --search
> guix package: error: invalid argument: Missing required argument after
> `--search'
>
> has changed recently from showing all packages to now showing none.
>
> also:
>
> $ guix package --search *
> guix package: error: invalid argument: Missing required argument after
> `--search'
>
> This is a bug. "*" should match everything.

This is not a bug.

The argument must be separated from the option with an “=”.  The second
problem is that “*” is not a regular expression but a shell glob
pattern.  You need to provide a regular expression.  This works:

    guix package --search=.*

-- 
Ricardo

  reply	other threads:[~2019-01-25 22:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-25 21:22 Listing all packages with --search now impossible swedebugia
2019-01-25 22:05 ` Ricardo Wurmus [this message]
2019-01-26  8:34   ` swedebugia

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=87ef90v1ds.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=swedebugia@riseup.net \
    /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).