From 0644dfde1f691df65851940738aad522857b71aa Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 23 Mar 2025 19:25:39 +0100 Subject: Clean up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gamma-coopgamma.c | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'src/gamma-coopgamma.c') diff --git a/src/gamma-coopgamma.c b/src/gamma-coopgamma.c index 6025da7..f51c0ee 100644 --- a/src/gamma-coopgamma.c +++ b/src/gamma-coopgamma.c @@ -390,22 +390,20 @@ coopgamma_free(struct gamma_state *state) static void -coopgamma_print_help(FILE *f) /* TODO not documented in readme and manpage */ +coopgamma_print_help(void) /* TODO not documented in readme and manpage */ { - fputs(_("Adjust gamma ramps with coopgamma.\n"), f); - fputs("\n", f); - - /* TRANSLATORS: coopgamma help output left column must not be translated */ - fputs(_(" edid=EDID \tEDID of monitor to apply adjustments to, enter " - "`list' to list available monitors\n" - " crtc=N \tIndex of CRTC to apply adjustments to\n" - " priority=N \tThe application order of the adjustments, " - "default value is 576460752303423488.\n" - " method=METHOD \tUnderlaying adjustment method, enter " - "`list' to list available methods\n" - " display=DISPLAY\tThe display to apply adjustments to\n"), - f); - fputs("\n", f); + printf(_("Adjust gamma ramps with coopgamma.\n")); + printf("\n"); + + printf(" display=%s %s\n", _("NAME "), _("Display server instance to apply adjustments to")); + printf(" crtc=%s %s\n", _("N "), _("Index of CRTC to apply adjustments to")); + printf(" edid=%s %s\n", _("EDID "), _("EDID of monitor to apply adjustments to, " + "enter `list' to list available monitors")); + printf(" priority=%s %s\n", _("N "), _("The application order of the adjustments, " + "default value is 576460752303423488")); + printf(" method=%s %s\n", _("NAME "), _("Underlaying adjustment method, " + "enter `list' to list available methods")); + printf("\n"); } -- cgit v1.2.3-70-g09d2