From 199296c91f7260f75228b476ac1eb2de6a84cbfb Mon Sep 17 00:00:00 2001 From: Olov Danielson Date: Sun, 10 Jan 2010 17:31:06 +0000 Subject: [PATCH] Added help description to sync daemon --- ykval-queue.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ykval-queue.php b/ykval-queue.php index bec3710..2b6c037 100755 --- a/ykval-queue.php +++ b/ykval-queue.php @@ -25,6 +25,14 @@ if ($argc==2 && strcmp($argv[1], "install")==0) { } } +if ($argc==2 && strcmp($argv[1], "help")==0) { + echo "\nUsage:\n\n"; + echo $argv[0] . " install \t- Installs start scripts for daemon\n"; + echo $argv[0] . " \t- Starts sync daemon\n"; + echo "\n"; + exit(); + } + System_Daemon::start(); // Spawn Deamon! /* Application start */