Package: debian-goodies
Version: 0.52
Severity: minor
Tags: patch

$ dpigs -h
getopt: option requires an argument -- 'h'

The attached patch fixes this bug.

--
Jakub Wilk
diff --git a/dpigs b/dpigs
--- a/dpigs
+++ b/dpigs
@@ -51,7 +51,7 @@
 # Default: display kilobytes
 HUMAN=0
 
-OPTS=$(getopt -o n:s:Sh:H --long lines:,status:,source,help,human-readable -- "$@")
+OPTS=$(getopt -o n:s:ShH --long lines:,status:,source,help,human-readable -- "$@")
 eval set -- "$OPTS"
 
 while true; do

Attachment: signature.asc
Description: Digital signature

Reply via email to