mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-03 05:18:24 +03:00
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:
parent
d786b9fd5f
commit
bb66a03fef
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user