bin/main: Remove duplicated usage output on unknown commands
authorColin Walters <walters@verbum.org>
Wed, 23 Aug 2017 17:03:39 +0000 (13:03 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 23 Aug 2017 17:51:17 +0000 (17:51 +0000)
It's been this way for a long time, though not forever; I went
back to v2014.11 as a random choice and it worked then.  Not
going to bother doing a full archive search for this though.
Anyone who wants more context can help themselves.

Closes: https://github.com/ostreedev/ostree/issues/1096
Closes: #1106
Approved by: jlebon

src/ostree/ot-main.c

index 7b906bfaa0e124b06019690982e0689e1ac5dc02..c8c3490ea1dd6303dba49f8c4c62470a58a6205b 100644 (file)
@@ -185,9 +185,6 @@ ostree_run (int    argc,
             }
         }
 
-      help = g_option_context_get_help (context, FALSE, NULL);
-      g_printerr ("%s", help);
-
       goto out;
     }