From 7ff2cc6e945c770c64d39089a2c27b33305495dd Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 27 Nov 2006 14:12:23 +0000 Subject: [PATCH] Use Time::sleep instead of sleep in Application::main Prefix usage reason with "UsageError: " --- source/core/application.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/core/application.cpp b/source/core/application.cpp index 7e92dbd..1012ea2 100644 --- a/source/core/application.cpp +++ b/source/core/application.cpp @@ -6,6 +6,7 @@ Distributed under the LGPL #include #include #include "../time/units.h" +#include "../time/utils.h" #include "application.h" #include "error.h" @@ -62,7 +63,7 @@ will blame the programmer for being lazy. void Application::usage(const char *reason, const char *, bool) { if(reason) - cerr<