From 255c18925f28f26dd29c00dd1e7634d46e667798 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 12 Apr 2013 13:48:49 +0200 Subject: [PATCH] Don't print usage info when invalid options When a realm command prints out a failure about invalid options it gets lost near the top of the big usage information. This was frustrating, until now. https://bugs.freedesktop.org/show_bug.cgi?id=62518 --- tools/realm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/realm.c b/tools/realm.c index 46aadc0..679f8de 100644 --- a/tools/realm.c +++ b/tools/realm.c @@ -236,9 +236,6 @@ main (int argc, } } - if (ret == 2) - usage(2); - g_free (arg_install); return ret; -- 1.8.1.4