cvs: peardoc / make-partial.php
| From: | anatoly techtonik | Date: | Tue, 13 Sep 2005 18:24:23 +0000 |
| Subject: | cvs: peardoc / make-partial.php | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6806@lists.php.net to get a copy of this message | ||
techtonik Tue Sep 13 14:24:23 2005 EDT
Modified files:
/peardoc make-partial.php
Log:
+ show help by default
http://cvs.php.net/diff.php/peardoc/make-partial.php?r1=1.4&r2=1.5&ty=u
Index: peardoc/make-partial.php
diff -u peardoc/make-partial.php:1.4 peardoc/make-partial.php:1.5
--- peardoc/make-partial.php:1.4 Sat Jun 11 12:11:43 2005
+++ peardoc/make-partial.php Tue Sep 13 14:24:22 2005
@@ -12,7 +12,7 @@
*
* @author Martin Jansen <mj@php.net>
* @copyright 2005 The PEAR Group
- * @version CVS: $Id: make-partial.php,v 1.4 2005/06/11 16:11:43 mj Exp $
+ * @version CVS: $Id: make-partial.php,v 1.5 2005/09/13 18:24:22 techtonik Exp $
*/
require_once "Console/Getopt.php";
@@ -43,6 +43,7 @@
$hasReadline = false;
echo "Warning: The readline extension could not be found!\n";
if (count($sections) == 0) {
+ showHelp();
echo "Exiting because no --include parameters were specified.\n";
exit(1);
}