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

Bug#681994: discover-config --list doesn't work



tags 681994 +patch
thanks

Le mercredi, 18 juillet 2012 17.06:39, Jakub Wilk a écrit :
> 
> $ discover-config --list
> usage: /usr/bin/discover-config --VAR ...
> 
> Print the value of the variable VAR.  Run /usr/bin/discover-config -l or
> /usr/bin/discover-config --list for a list of valid variable names.

Indeed; code doesn't match documentation: --list-vars works and is also 
referred to from the manpage; patch attached.

Cheers,

OdyX
Description: The correct option to obtain the list of valid variable names is
 --list-vars, not --list.
Author: Didier Raboud <odyx@debian.org>
Origin: vendor
Bugs: http://bugs.debian.org/681994
Last-Update: 2012-07-18

--- a/buildtools/config-script.in
+++ b/buildtools/config-script.in
@@ -15,7 +15,7 @@
     cat <<EOF
 usage: $0 --VAR ...
 
-Print the value of the variable VAR.  Run $0 -l or $0 --list for a list
+Print the value of the variable VAR.  Run $0 -l or $0 --list-vars for a list
 of valid variable names.
 EOF
 }

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: