]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix update.php showing --help option with a single -
authorAndrew Dolgov <noreply@fakecake.org>
Thu, 23 Feb 2017 10:06:39 +0000 (13:06 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Thu, 23 Feb 2017 10:06:39 +0000 (13:06 +0300)
update.php

index 821d25bce27c5262d65cdfddd62adea65b88e24c..2601e965c7731dd856012e4c62cc91a462216e78 100755 (executable)
@@ -66,7 +66,7 @@
                <div class="floatingLogo"><img src="images/logo_small.png"></div>
                <h1><?php echo __("Tiny Tiny RSS data update script.") ?></h1>
 
-               <?php print_error("Please run this script from the command line. Use option \"-help\" to display command help if this error is displayed erroneously."); ?>
+               <?php print_error("Please run this script from the command line. Use option \"--help\" to display command help if this error is displayed erroneously."); ?>
 
                </body></html>
        <?php
 
                        $auth_pass = db_escape_string(decrypt_string($line["auth_pass"]));
 
-                       db_query("UPDATE ttrss_feeds SET auth_pass_encrypted = false, auth_pass = '$auth_pass' 
+                       db_query("UPDATE ttrss_feeds SET auth_pass_encrypted = false, auth_pass = '$auth_pass'
                                WHERE id = " . $line["id"]);
 
                        ++$total;