fix update.php showing --help option with a single -

master
Andrew Dolgov 8 years ago
parent b835a52814
commit e6d66fe55c

@ -66,7 +66,7 @@
<div class="floatingLogo"><img src="images/logo_small.png"></div> <div class="floatingLogo"><img src="images/logo_small.png"></div>
<h1><?php echo __("Tiny Tiny RSS data update script.") ?></h1> <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> </body></html>
<?php <?php

Loading…
Cancel
Save