mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
c_echo
Console_color2 helper. If $console_color isn't instantiated, remove the color directives and print.
This commit is contained in:
@@ -182,7 +182,7 @@ if (!empty($argv[1])) {
|
||||
}
|
||||
} else {
|
||||
|
||||
print $console_color->convert(
|
||||
c_echo(
|
||||
"\n".$config['project_name_version'].' Add Host Tool
|
||||
|
||||
Usage (SNMPv1/2c): ./addhost.php [-g <poller group>] [-f] [-p <port assoc mode>] <%Whostname%n> [community] [v1|v2c] [port] ['.implode('|', $config['snmp']['transports']).']
|
||||
|
Reference in New Issue
Block a user