gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 396/411: scripts/completion.pl: parse all opts


From: gnunet
Subject: [gnurl] 396/411: scripts/completion.pl: 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 <tumd@users.noreply.github.com>
AuthorDate: Sat Dec 5 15:21:53 2020 +0000

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

diff --git a/scripts/completion.pl b/scripts/completion.pl
index fa807d4de..8bbf4838a 100755
--- a/scripts/completion.pl
+++ b/scripts/completion.pl
@@ -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
gnunet@gnunet.org.



reply via email to

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