summaryrefslogtreecommitdiff
path: root/pear/scripts/pearcmd-help.php
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2002-01-30 12:20:12 +0000
committerStig Bakken <ssb@php.net>2002-01-30 12:20:12 +0000
commit615f110d4ec22cc73d99369ade395ef55849ce79 (patch)
treec44bd610f9d56496f4d624a9a13e130432038ed1 /pear/scripts/pearcmd-help.php
parenta33fd65b12abeb4811d74d0ebe6231109cf55ed9 (diff)
downloadphp-git-615f110d4ec22cc73d99369ade395ef55849ce79.tar.gz
* modularize "pear" and "pear-get" commands somewhat. checking options
etc. is done for both in pearcmd-common.php.
Diffstat (limited to 'pear/scripts/pearcmd-help.php')
-rw-r--r--pear/scripts/pearcmd-help.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/pear/scripts/pearcmd-help.php b/pear/scripts/pearcmd-help.php
new file mode 100644
index 0000000000..5bb8b7db9f
--- /dev/null
+++ b/pear/scripts/pearcmd-help.php
@@ -0,0 +1,9 @@
+<?php
+
+if (isset($cmdargs[0])) {
+ usage(null, $cmdargs[0]);
+} else {
+ usage();
+}
+
+?> \ No newline at end of file