aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index de7207d..dc6e47c 100644
--- a/src/config.c
+++ b/src/config.c
@@ -567,7 +567,8 @@ print_method_list(void)
size_t i;
printf(_("Available adjustment methods:\n"));
for (i = 0; gamma_methods[i]; i++)
- printf(" %s\n", gamma_methods[i]->name);
+ if (gamma_methods[i]->is_available())
+ printf(" %s\n", gamma_methods[i]->name);
printf("\n");
printf(_("Specify colon-separated options with `-m METHOD:OPTIONS'.\n"));