X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Foptions.cpp;h=89e1fd109be155a3172aa488afc2619bf89d42fe;hb=19a73af1fb956636cb8b9d563ffb6a42e827a5bf;hp=fc7516c16cc2405d91c7e92cf0944d9be07400f3;hpb=2152b8a18d1a716f51b80c53f11d2a9599d94e23;p=r2c2.git diff --git a/source/engineer/options.cpp b/source/engineer/options.cpp index fc7516c..89e1fd1 100644 --- a/source/engineer/options.cpp +++ b/source/engineer/options.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of the MSP Märklin suite -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include #include #include @@ -42,12 +35,12 @@ Options::Options(int argc, char **argv): screen_h = lexical_cast(m[2].str); } else - throw UsageError("Invalid resolution"); + throw usage_error("Invalid resolution"); } const vector &args = getopt.get_args(); if(args.empty()) - throw UsageError("No layout given"); + throw usage_error("No layout given"); layout_fn = args[0];