Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
High: tools: Add the -q option back to attrd_updater.
This option is deprecated and unused, but should still be recognized.

Regression in 2.1.3 introduced by ef0e8a5.

Fixes T526
See rhbz#2110452
  • Loading branch information
clumens committed Jul 25, 2022
1 parent 90ed6fe commit cf01844
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/attrd_updater.c
Expand Up @@ -49,6 +49,7 @@ struct {
char *attr_value;
int attr_options;
gboolean query_all;
gboolean quiet;
} options = {
.attr_options = pcmk__node_attr_none,
.command = 'Q',
Expand Down Expand Up @@ -177,6 +178,10 @@ static GOptionEntry addl_entries[] = {
};

static GOptionEntry deprecated_entries[] = {
{ "quiet", 'q', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.quiet,
NULL,
NULL },

{ "update", 'v', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, command_cb,
NULL,
NULL },
Expand Down

0 comments on commit cf01844

Please sign in to comment.