From 19f734335519996395113c6acbde949dfc60e167 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Thu, 27 May 2010 00:17:47 +0200 Subject: Let gamma methods and location providers print help on option parameters. --- src/gamma-vidmode.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/gamma-vidmode.c') diff --git a/src/gamma-vidmode.c b/src/gamma-vidmode.c index f9be408..e8f6d63 100644 --- a/src/gamma-vidmode.c +++ b/src/gamma-vidmode.c @@ -142,6 +142,16 @@ vidmode_free(vidmode_state_t *state) XCloseDisplay(state->display); } +void +vidmode_print_help(FILE *f) +{ + fputs(_("Adjust gamma ramps with the X VidMode extension.\n"), f); + fputs("\n", f); + + fputs(_(" screen=N\tX screen to apply adjustments to\n"), f); + fputs("\n", f); +} + void vidmode_restore(vidmode_state_t *state) { -- cgit v1.2.3-70-g09d2