[Libreoffice-commits] core.git: bin/gbuild-to-ide

Peter Foley pefoley2 at pefoley.com
Fri Sep 26 04:58:25 PDT 2014


 bin/gbuild-to-ide |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0014648fee6c2b499cbd20682b7f27cdc78e1123
Author: Peter Foley <pefoley2 at pefoley.com>
Date:   Thu Sep 25 15:28:44 2014 -0400

    improve gbuild-to-ide error message
    
    Change-Id: Ia8986764e48f1dbe39374d511a188bd2b5f49e13
    Reviewed-on: https://gerrit.libreoffice.org/11654
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index bdb8688..c63ba59 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -889,7 +889,7 @@ if __name__ == '__main__':
         'debug': DebugIntegrationGenerator}
 
     if args.ide not in generators.keys():
-        parser.print_help()
+        print("Invalid ide. valid values are %s" % ','.join(generators.keys()))
         sys.exit(1)
 
     if args.input:


More information about the Libreoffice-commits mailing list