Permalink
Browse files

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...
1 parent 13e304c commit 5f674b4b8f870309e8eb9f19c5127f6dfc433e31 @jdhore jdhore committed Feb 12, 2010
Showing with 3 additions and 1 deletion.
  1. +1 −0 README
  2. +2 −1 src/atheme.c
View
@@ -72,6 +72,7 @@ specified to change the default behavior:
-c </path/to/file> - specify the configuration file
-d - start in debugging mode
-h - print the help message and exit
+ -r - start atheme in read-only mode
-l </path/to/file> - specify the main log file
-n - do not fork into the background
-p </path/to/file> - specify the PID file
View
@@ -57,10 +57,11 @@ void (*db_load) (void) = NULL;
/* *INDENT-OFF* */
static void print_help(void)
{
- printf("usage: atheme [-dhnv] [-c conf] [-l logfile] [-p pidfile]\n\n"
+ printf("usage: atheme [-dhnvr] [-c conf] [-l logfile] [-p pidfile]\n\n"
"-c <file> Specify the config file\n"
"-d Start in debugging mode\n"
"-h Print this message and exit\n"
+ "-r Start in read-only mode\n"
"-l <file> Specify the log file\n"
"-n Don't fork into the background (log screen + log file)\n"
"-p <file> Specify the pid file (will be overwritten)\n"

0 comments on commit 5f674b4

Please sign in to comment.