diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-05-27 00:17:47 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-05-27 00:17:47 +0200 |
commit | 19f734335519996395113c6acbde949dfc60e167 (patch) | |
tree | 9bb21c48b0791aee476953bc2efb3ae5044d2708 /src/gamma-randr.c | |
parent | Remove unused parameters in help text output. (diff) | |
download | redshift-ng-19f734335519996395113c6acbde949dfc60e167.tar.gz redshift-ng-19f734335519996395113c6acbde949dfc60e167.tar.bz2 redshift-ng-19f734335519996395113c6acbde949dfc60e167.tar.xz |
Let gamma methods and location providers print help on option parameters.
Diffstat (limited to 'src/gamma-randr.c')
-rw-r--r-- | src/gamma-randr.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gamma-randr.c b/src/gamma-randr.c index ec70746..990ac91 100644 --- a/src/gamma-randr.c +++ b/src/gamma-randr.c @@ -290,6 +290,17 @@ randr_free(randr_state_t *state) xcb_disconnect(state->conn); } +void +randr_print_help(FILE *f) +{ + fputs(_("Adjust gamma ramps with the X RANDR extension.\n"), f); + fputs("\n", f); + + fputs(_(" screen=N\tX screen to apply adjustments to\n" + " crtc=N\tCRTC to apply adjustments to\n"), f); + fputs("\n", f); +} + static int randr_set_temperature_for_crtc(randr_state_t *state, int crtc_num, int temp, float gamma[3]) |