ostree/config: Delete rogue printf and tweak help

Minor tweak to the new `--group` flag help string. Also drop an
extraneous `printf`.

Closes: #1710
Approved by: sinnykumari
This commit is contained in:
Jonathan Lebon 2018-08-20 11:17:57 -04:00 committed by Atomic Bot
parent d786b9fd5f
commit bb66a03fef

View File

@ -36,7 +36,7 @@ static char* opt_group;
*/ */
static GOptionEntry options[] = { 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 } { NULL }
}; };
@ -88,7 +88,6 @@ ostree_builtin_config (int argc, char **argv, OstreeCommandInvocation *invocatio
if (!strcmp (op, "set")) if (!strcmp (op, "set"))
{ {
printf("GROUP NUMBER = %s %d\n", opt_group, argc);
if (opt_group) if (opt_group)
{ {
if (argc < 4) if (argc < 4)