Skip to content

Commit

Permalink
mxqd: Use same syntax in print_usage() as in mxqsub
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Aug 26, 2015
1 parent df5f48c commit e5d7c50
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions mxqd.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,25 +73,25 @@ static void print_usage(void)
" mxqd [options]\n"
"\n"
"options:\n"
" -j | --slots <slots> default: 1\n"
" -m | --memory <memory> default: 2048 (in MiB)\n"
" -x | --max-memory-per-slot <mem> default: <memory>/<slots>\n"
" -j, --slots <slots> default: 1\n"
" -m, --memory <memory> default: 2048 (in MiB)\n"
" -x, --max-memory-per-slot <mem> default: <memory>/<slots>\n"
"\n"
" -N | --server-id <id> default: main\n"
" --hostname <hostname> default: $(hostname)\n"
" -N, --server-id <id> default: main\n"
" --hostname <hostname> default: $(hostname)\n"
"\n"
" --pid-file <pidfile> default: create no pid file\n"
" --daemonize default: run in foreground\n"
" --no-log default: write a logfile\n"
" --debug default: info log level\n"
" --pid-file <pidfile> default: create no pid file\n"
" --daemonize default: run in foreground\n"
" --no-log default: write a logfile\n"
" --debug default: info log level\n"
"\n"
" -V | --version\n"
" -h | --help\n"
" -V, --version\n"
" -h, --help\n"
"\n"
"Change how to connect to the mysql server:\n"
"\n"
" -M | --mysql-default-file [mysql-file] default: " MYSQL_DEFAULT_FILE "\n"
" -S | --mysql-default-group [mysql-group] default: " MYSQL_DEFAULT_GROUP "\n"
" -M, --mysql-default-file [mysql-file] default: " MYSQL_DEFAULT_FILE "\n"
" -S, --mysql-default-group [mysql-group] default: " MYSQL_DEFAULT_GROUP "\n"
"\n"
"Environment:\n"
" MXQ_MYSQL_DEFAULT_FILE change default for [mysql-file]\n"
Expand Down

0 comments on commit e5d7c50

Please sign in to comment.