Author: Tobias Schlitt
Date: 2006-01-13 09:00:12 +0100 (Fri, 13 Jan 2006)
New Revision: 1803
Log:
- Small adjustments.
Modified:
scripts/generate_package_xml.php
Modified: scripts/generate_package_xml.php
===================================================================
--- scripts/generate_package_xml.php 2006-01-13 07:58:53 UTC (rev 1802)
+++ scripts/generate_package_xml.php 2006-01-13 08:00:12 UTC (rev 1803)
@@ -129,7 +129,7 @@
public function run()
{
// General info output
- $this->output->outputLine();
+ $this->output->outputLine( $this->input->getSynopsis() );
$this->output->outputLine( "eZ Enterprise Components package
manager.", 'info' );
$this->output->outputText( "Version: ", 'info' );
$this->output->outputLine( "0.1.0\n", 'version' );
@@ -239,7 +239,7 @@
new ezcConsoleOption(
'h',
'help',
- ezcConsoleInput::TYPE_STRING,
+ ezcConsoleInput::TYPE_NONE,
null,
null,
'Display help. Use "-h <OptionName>" to display detailed info
on a parameter.',
@@ -351,7 +351,7 @@
$this->output->outputLine( "Usage: $ generate_package_xml.php -p
<PackageName> -v <PackageVersion> -s <PackageStatus>", 'help' );
$this->output->outputLine( "Must be run from within
/your/svn/co/ezcomponents/packages .", 'help' );
- if ( $helpTopic !== '' && $helpTopic !== false )
+ if ( $helpTopic !== '' && !is_bool( $helpTopic ) )
{
try
{
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components