extensions-tool: Add common option to silence errors

Error reporting is useful when used interactively, but often undesirable
when used in scripts. Account for that with a common --quiet option,
which is more convenient than redirection stderr to /dev/null.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2391
This commit is contained in:
Florian Müllner
2020-03-14 12:58:04 +01:00
parent fbd6beea2c
commit f5a170ce46
13 changed files with 53 additions and 0 deletions

View File

@ -45,6 +45,8 @@ typedef enum {
DISPLAY_DETAILED
} DisplayFormat;
GOptionGroup *get_option_group (void);
void show_help (GOptionContext *context,
const char *message);