Fix usage bogon (-d doesn't take any arguments).

MFC after:	3 days
This commit is contained in:
Bruce A. Mah 2001-06-13 21:34:12 +00:00
parent a7f595f8a2
commit 50ed42ac07

View File

@ -264,11 +264,11 @@ sub GetNameAndVersion {
# #
sub PrintHelp { sub PrintHelp {
print <<"EOF" print <<"EOF"
Usage: pkg_version [-c] [-d debug] [-h] [-l limchar] [-L limchar] [-s string] Usage: pkg_version [-c] [-d] [-h] [-l limchar] [-L limchar] [-s string]
[-v] [index] [-v] [index]
pkg_version [-d debug] -t v1 v2 pkg_version [-d debug] -t v1 v2
-c Show commands to update installed packages -c Show commands to update installed packages
-d debug Debugging output (debug controls level of output) -d Enable debugging output
-h Help (this message) -h Help (this message)
-l limchar Limit output to status flags that match -l limchar Limit output to status flags that match
-L limchar Limit output to status flags that DON\'T match -L limchar Limit output to status flags that DON\'T match