From 8c346294d8a2933e70ab2732a427e53e8973f2c0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 11 Jul 2016 23:28:34 +0200 Subject: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gammad.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gammad.c b/src/gammad.c index 3d2d261..ee96b6c 100644 --- a/src/gammad.c +++ b/src/gammad.c @@ -881,9 +881,21 @@ static void usage(void) * @signal SIGUSR1 Re-execute to updated process image * @signal SIGTERM Terminate the process gracefully * - * @return 0: Successful - * 1: An error occurred - * 2: Already running + * @param argc The number of elements in `argv` + * @param argv Command line arguments. Recognised options: + * -s SITENAME + * The site to which to connect + * -m METHOD + * Adjustment method name or adjustment method number + * -p + * Preserve current gamma ramps at priority 0 + * -f + * Do not fork the process into the background + * -k + * Keep stderr open + * @return 0: Successful + * 1: An error occurred + * 2: Already running */ int main(int argc, char** argv) { -- cgit v1.2.3-70-g09d2