From 51dca8cb3759fc6ebf48f96c4d900e40b456455e Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Wed, 23 Jun 2010 15:58:38 +0000 Subject: [PATCH] update syntax help to reflect commit r1211 git-svn-id: http://www.observium.org/svn/observer/trunk@1250 61d68cd4-352d-0410-923a-c4978735b2b8 --- discovery.php | 14 +++++++------- poll-device.php | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/discovery.php b/discovery.php index 7186adb8e..cb232aaaa 100755 --- a/discovery.php +++ b/discovery.php @@ -35,13 +35,13 @@ if ($options['h'] == "odd") { } if(!$where) { - echo("-h Poll single device\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 all Poll all devices\n\n"); - echo("-i -n Poll as instance of \n"); - echo(" Instances start at 0. 0-3 for -n 4\n\n"); - echo("-d Enable some debugging output\n"); + echo("-h | Poll single device\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 all Poll all devices\n\n"); + echo("-i -n Poll as instance of \n"); + echo(" Instances start at 0. 0-3 for -n 4\n\n"); + echo("-d Enable some debugging output\n"); echo("\n"); echo("No polling type specified!\n"); exit; diff --git a/poll-device.php b/poll-device.php index 1ec2897ff..c8901cfba 100755 --- a/poll-device.php +++ b/poll-device.php @@ -30,13 +30,13 @@ if ($options['h'] == "odd") { } if (!$where) { - echo("-h Poll single device\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 all Poll all devices\n\n"); - echo("-i -n Poll as instance of \n"); - echo(" Instances start at 0. 0-3 for -n 4\n\n"); - echo("-d Enable some debugging output\n"); + echo("-h | Poll single device\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 all Poll all devices\n\n"); + echo("-i -n Poll as instance of \n"); + echo(" Instances start at 0. 0-3 for -n 4\n\n"); + echo("-d Enable some debugging output\n"); echo("\n"); echo("No polling type specified!\n"); exit;