Add missing language items for CLI in en.xml
authorTim Düsterhus <duesterhus@woltlab.com>
Sun, 10 Nov 2013 14:14:39 +0000 (15:14 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Sun, 10 Nov 2013 14:15:33 +0000 (15:15 +0100)
Closes #1542

wcfsetup/install/files/lib/system/CLIWCF.class.php
wcfsetup/install/lang/en.xml

index e48aaba2c72c81c494316d4c1f40db5cb7889a47..5eb147b5f9658f1bffc1305e75b37b5c0e06b78c 100644 (file)
@@ -154,7 +154,7 @@ class CLIWCF extends WCF {
                        $help = WCF::getLanguage()->get('wcf.cli.help.'.self::getArgvParser()->help.'.description', true);
                        if ($help) echo $help.PHP_EOL;
                        else {
-                               echo WCF::getLanguage()->getDynamicVariable('wcf.cli.noLongHelp', array('topic' => self::getArgvParser()->help)).PHP_EOL;
+                               echo WCF::getLanguage()->getDynamicVariable('wcf.cli.help.noLongHelp', array('topic' => self::getArgvParser()->help)).PHP_EOL;
                        }
                        exit;
                }
index 63a6a89cbaa83c0fb846ae3563c5caae96cbeee5..c687ffa47fc77f37f13b4dbdbc720bc52dbf4b8f 100644 (file)
@@ -1427,11 +1427,20 @@ Allowed extensions: {', '|implode:$attachmentHandler->getFormattedAllowedExtensi
        </category>
        
        <category name="wcf.cli">
+               <item name="wcf.cli.help.noLongHelp"><![CDATA[There is no long help for the parameter "{$topic}".]]></item>
                <item name="wcf.cli.help.language"><![CDATA[Forces the language with the given language code.]]></item>
                <item name="wcf.cli.help.version"><![CDATA[Shows the version number and exists.]]></item>
                <item name="wcf.cli.help.help"><![CDATA[Shows this help and exists.]]></item>
                <item name="wcf.cli.help.q"><![CDATA[Quiet: Show less information.]]></item>
                <item name="wcf.cli.help.v"><![CDATA[Verbose: Show more information.]]></item>
+               <item name="wcf.cli.help.disableUpdateCheck"><![CDATA[Don't search for updates after login]]></item>
+               <item name="wcf.cli.help.exitOnFail"><![CDATA[Exists the script if an error occurs.]]></item>
+               <item name="wcf.cli.help.exitOnFail.description"><![CDATA[If this parameter is set the script execution will be terminated once an error occurs.
+Errors are:
+- Missing commands
+- Failing commands
+- Core errors]]></item>
+               <item name="wcf.cli.help.packageID"><![CDATA[The given package id will be used as a default for this session.]]></item>
                
                <item name="wcf.cli.error.language.notFound"><![CDATA[The language with the language code "{$languageCode}" could not be found.]]></item>
                <item name="wcf.cli.error.command.notFound"><![CDATA[The command "{$command}" could not be found.]]></item>