aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-11 23:28:34 +0200
committerMattias Andrée <maandree@kth.se>2016-07-11 23:28:34 +0200
commit8c346294d8a2933e70ab2732a427e53e8973f2c0 (patch)
treef229e1b24e5e6de7983b25d4135fa86c0d51b514 /src
parentm doc (diff)
downloadcoopgammad-8c346294d8a2933e70ab2732a427e53e8973f2c0.tar.gz
coopgammad-8c346294d8a2933e70ab2732a427e53e8973f2c0.tar.bz2
coopgammad-8c346294d8a2933e70ab2732a427e53e8973f2c0.tar.xz
doc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/gammad.c18
1 files changed, 15 insertions, 3 deletions
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)
{