summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2005-11-23 17:30:50 +0000
committerHenri Herscher <henri@oreka.org>2005-11-23 17:30:50 +0000
commit93395c37dbfe6dbc245be99af8e06e905b82e7f3 (patch)
tree8037a9e94c44a32800e70365ab24af71ce514f44
parent2bbb4de77d9164569cf365713d9282c11a310342 (diff)
usage output now different between Linux and Windows
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@64 09dcff7a-b715-0410-9601-b79a96267cd0
-rw-r--r--orkaudio/OrkAudio.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/orkaudio/OrkAudio.cpp b/orkaudio/OrkAudio.cpp
index 8fa7b84..a499b36 100644
--- a/orkaudio/OrkAudio.cpp
+++ b/orkaudio/OrkAudio.cpp
@@ -162,14 +162,18 @@ int main(int argc, char* argv[])
}
else
{
- printf("Argument incorrect. Possibilies are:\n'\tdebug:\trun attached to tty\n\tinstall:\tinstall NT service\n\tuninstall:\tuninstall NT service\n");
+#ifdef WIN32
+ printf("Argument incorrect. Possibilies are:\n\tinstall:\t\tinstall NT service\n\tuninstall:\t\tuninstall NT service\n");
+#else
+ printf("Argument incorrect. Possibilies are:\n\tdebug:\trun attached to tty");
+#endif
}
}
else
{
// No arguments, launch the daemon
printf("Starting orkaudio daemon ... (type 'orkaudio debug' if you prefer running attached to tty)\n");
- DaemonSingleton::instance()->Start();
+ DaemonSingleton::instance()->Start();
}
return 0;
}