ostree/config: Delete rogue printf and tweak help
authorJonathan Lebon <jonathan@jlebon.com>
Mon, 20 Aug 2018 15:17:57 +0000 (11:17 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 21 Aug 2018 10:36:12 +0000 (10:36 +0000)
Minor tweak to the new `--group` flag help string. Also drop an
extraneous `printf`.

Closes: #1710
Approved by: sinnykumari

src/ostree/ot-builtin-config.c

index b9fa824d8e95b89e25ff05a4ef7704f0a23465a6..4368f50c663c27c7b1b0dde763034deeaf9b3080 100644 (file)
@@ -36,7 +36,7 @@ static char* opt_group;
  */
 
 static GOptionEntry options[] = {
-  { "group", 0, 0, G_OPTION_ARG_STRING, &opt_group , "Group name followed by key for a remote config", NULL },
+  { "group", 0, 0, G_OPTION_ARG_STRING, &opt_group , "Group name", NULL },
   { NULL }
 };
 
@@ -88,7 +88,6 @@ ostree_builtin_config (int argc, char **argv, OstreeCommandInvocation *invocatio
 
   if (!strcmp (op, "set"))
     {
-      printf("GROUP NUMBER = %s  %d\n", opt_group, argc);
       if (opt_group)
         {
           if (argc < 4)