[svn:parrot] r37751 - trunk/tools/util
coke at svn.parrot.org
coke at svn.parrot.org
Thu Mar 26 20:01:38 UTC 2009
Author: coke
Date: Thu Mar 26 20:01:38 2009
New Revision: 37751
URL: https://trac.parrot.org/parrot/changeset/37751
Log:
Add the --help option I was complaining didn't exist.
Modified:
trunk/tools/util/parrot-config.pir
Modified: trunk/tools/util/parrot-config.pir
==============================================================================
--- trunk/tools/util/parrot-config.pir Thu Mar 26 19:56:38 2009 (r37750)
+++ trunk/tools/util/parrot-config.pir Thu Mar 26 20:01:38 2009 (r37751)
@@ -43,6 +43,7 @@
i = 1
loop:
key = argv[i]
+ if key == '--help' goto usage
if key == '--dump' goto dump
$I0 = defined conf_hash[key]
if $I0 goto ok2
@@ -74,7 +75,7 @@
usage:
$S0 = argv[0]
printerr $S0
- printerr " [ <config-key> | --dump ]\n"
+ printerr " [ <config-key> | --dump | --help ]\n"
exit 1
.end
More information about the parrot-commits
mailing list