function printHelp()
{
    print 'Checks a Minecraft server.' . EOL . EOL;
    printSummary();
    print EOL;
    print '-h, --help' . EOL;
    print '  Prints this help.' . EOL;
    print '-H, --host' . EOL;
    print '  Defines the host to check.' . EOL;
    print '-p, --port' . EOL;
    print '  Defines the port to check (Default: 25565).' . EOL;
    print '-w, --warn' . EOL;
    print '  Warning, when percentage of slots used (Default: 100, full server).' . EOL;
}
Example #2
0
				<a href="index.php"><div class="banner"></div></a>
			</td>
		</tr>
		<!-- FUNCTION/SUMMARY -->
		<tr>
			<!-- FUNCTION -->
			<td>
				<div class="function"><?php 
printFunction();
?>
</div>
			</td>
			<!-- SUMMARY -->
			<td rowspan="2">
				<div class="summary"><?php 
printSummary();
?>
</div>
			</td>
		</tr>
		<!-- RESULT -->
		<tr>
			<td>
				<div class="result"><?php 
printResult();
?>
</div>
			</td>
		</tr>
	</table>
		<?php