Skip to content
This repository
Browse code

Document the -r startup flag (read-only).

Just noticed that this was never documented and wanted to commit it before i
forget.
  • Loading branch information...
commit 5f674b4b8f870309e8eb9f19c5127f6dfc433e31 1 parent 13e304c
Jeff Horelick authored February 12, 2010

Showing 2 changed files with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 1  README
  2. 3  src/atheme.c
1  README
@@ -72,6 +72,7 @@ specified to change the default behavior:
72 72
   -c </path/to/file> - specify the configuration file
73 73
   -d                 - start in debugging mode
74 74
   -h                 - print the help message and exit
  75
+  -r				 - start atheme in read-only mode
75 76
   -l </path/to/file> - specify the main log file
76 77
   -n                 - do not fork into the background
77 78
   -p </path/to/file> - specify the PID file
3  src/atheme.c
@@ -57,10 +57,11 @@ void (*db_load) (void) = NULL;
57 57
 /* *INDENT-OFF* */
58 58
 static void print_help(void)
59 59
 {
60  
-	printf("usage: atheme [-dhnv] [-c conf] [-l logfile] [-p pidfile]\n\n"
  60
+	printf("usage: atheme [-dhnvr] [-c conf] [-l logfile] [-p pidfile]\n\n"
61 61
 	       "-c <file>    Specify the config file\n"
62 62
 	       "-d           Start in debugging mode\n"
63 63
 	       "-h           Print this message and exit\n"
  64
+	       "-r	     Start in read-only mode\n"
64 65
 	       "-l <file>    Specify the log file\n"
65 66
 	       "-n           Don't fork into the background (log screen + log file)\n"
66 67
 	       "-p <file>    Specify the pid file (will be overwritten)\n"

0 notes on commit 5f674b4

Please sign in to comment.
Something went wrong with that request. Please try again.