gnunet-bugreport: satisfy gnu standards.
authorng0 <ng0@n0.is>
Thu, 21 Nov 2019 14:35:20 +0000 (14:35 +0000)
committerng0 <ng0@n0.is>
Thu, 21 Nov 2019 14:35:20 +0000 (14:35 +0000)
contrib/scripts/gnunet-bugreport

index f6a28fdedc1a1abfd3aa0b5caeff47288a49ba3b..724c38e067918b404ea574d1d3352b8a52d9b21a 100755 (executable)
@@ -548,7 +548,7 @@ EOF
 
 main()
 {
-    if test -n "$1" -a "$1" = "-h"; then
+    if test -n "$1" -a "$1" = "-h" -o "$1" = "--help"; then
         echo "Usage: ${progname} [-h]"
         echo "If CPPFLAGS and LDFLAGS are unset, try:"
         echo "CPPFLAGS='-I/usr/pkg/include' LDFLAGS='-L/usr/pkg/lib' ${progname}"