[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 396/411: scripts/ parse all opts

From: gnunet
Subject: [gnurl] 396/411: scripts/ parse all opts
Date: Wed, 13 Jan 2021 01:23:31 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 7a6fdd503db481ce8c3b17520dbafaddffc9200f
Author: Thomas Danielsson <>
AuthorDate: Sat Dec 5 15:21:53 2020 +0000

    scripts/ parse all opts
    For tab-completion it may be preferable to include all the
    available options.
    Closes #6280
 scripts/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/ b/scripts/
index fa807d4de..8bbf4838a 100755
--- a/scripts/
+++ b/scripts/
@@ -37,7 +37,7 @@ Getopt::Long::GetOptions(
 Pod::Usage::pod2usage() if $help;
 my $regex = '\s+(?:(-[^\s]+),\s)?(--[^\s]+)\s*(\<.+?\>)?\s+(.*)';
-my @opts = parse_main_opts('--help', $regex);
+my @opts = parse_main_opts('--help all', $regex);
 if ($shell eq 'fish') {
     print "# curl fish completion\n\n";

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]