From: Jürg Billeter Date: Sun, 21 Mar 2010 10:52:08 +0000 (+0100) Subject: vapigen: Report error when omitting --library option X-Git-Tag: 0.8.0~111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3744170887548e06c845cfd8dc40d46ec069f162;p=thirdparty%2Fvala.git vapigen: Report error when omitting --library option Fixes bug 611322. --- diff --git a/vapigen/valavapigen.vala b/vapigen/valavapigen.vala index 3bcc4d6b2..686102a35 100644 --- a/vapigen/valavapigen.vala +++ b/vapigen/valavapigen.vala @@ -1,6 +1,6 @@ /* valavapigen.vala * - * Copyright (C) 2006-2009 Jürg Billeter + * Copyright (C) 2006-2010 Jürg Billeter * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -157,6 +157,8 @@ class Vala.VAPIGen : Object { } } } + } else { + Report.error (null, "--library option must be specified"); } if (packages != null) {