update syntax help to reflect commit r1211

git-svn-id: http://www.observium.org/svn/observer/trunk@1250 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-23 15:58:38 +00:00
parent d449b63524
commit 51dca8cb37
2 changed files with 14 additions and 14 deletions
+7 -7
View File
@@ -35,13 +35,13 @@ if ($options['h'] == "odd") {
} }
if(!$where) { if(!$where) {
echo("-h <device id> Poll single device\n"); echo("-h <device id> | <device hostname> Poll single device\n");
echo("-h odd Poll odd numbered devices (same as -i 2 -n 0)\n"); echo("-h odd Poll odd numbered devices (same as -i 2 -n 0)\n");
echo("-h even Poll even numbered devices (same as -i 2 -n 1)\n"); echo("-h even Poll even numbered devices (same as -i 2 -n 1)\n");
echo("-h all Poll all devices\n\n"); echo("-h all Poll all devices\n\n");
echo("-i <instances> -n <number> Poll as instance <number> of <instances>\n"); echo("-i <instances> -n <number> Poll as instance <number> of <instances>\n");
echo(" Instances start at 0. 0-3 for -n 4\n\n"); echo(" Instances start at 0. 0-3 for -n 4\n\n");
echo("-d Enable some debugging output\n"); echo("-d Enable some debugging output\n");
echo("\n"); echo("\n");
echo("No polling type specified!\n"); echo("No polling type specified!\n");
exit; exit;
+7 -7
View File
@@ -30,13 +30,13 @@ if ($options['h'] == "odd") {
} }
if (!$where) { if (!$where) {
echo("-h <device id> Poll single device\n"); echo("-h <device id> | <device hostname> Poll single device\n");
echo("-h odd Poll odd numbered devices (same as -i 2 -n 0)\n"); echo("-h odd Poll odd numbered devices (same as -i 2 -n 0)\n");
echo("-h even Poll even numbered devices (same as -i 2 -n 1)\n"); echo("-h even Poll even numbered devices (same as -i 2 -n 1)\n");
echo("-h all Poll all devices\n\n"); echo("-h all Poll all devices\n\n");
echo("-i <instances> -n <number> Poll as instance <number> of <instances>\n"); echo("-i <instances> -n <number> Poll as instance <number> of <instances>\n");
echo(" Instances start at 0. 0-3 for -n 4\n\n"); echo(" Instances start at 0. 0-3 for -n 4\n\n");
echo("-d Enable some debugging output\n"); echo("-d Enable some debugging output\n");
echo("\n"); echo("\n");
echo("No polling type specified!\n"); echo("No polling type specified!\n");
exit; exit;