null+****@clear*****
null+****@clear*****
2012年 3月 12日 (月) 09:39:33 JST
Susumu Yata 2012-03-12 09:39:33 +0900 (Mon, 12 Mar 2012)
New Revision: 90d0385355e7b7187e621b0c71e64871c989515a
Log:
reorder usage options.
Modified files:
src/groonga.c
Modified: src/groonga.c (+8 -8)
===================================================================
--- src/groonga.c 2012-03-09 19:10:25 +0900 (8e8706a)
+++ src/groonga.c 2012-03-12 09:39:33 +0900 (8b44c12)
@@ -97,29 +97,29 @@ usage(FILE *output)
"Usage: groonga [options...] [dest]\n"
"options:\n"
" -n: create new database\n"
+ " -e, --encoding <encoding>: encoding for new database [none|euc|utf8|sjis|latin1|koi8r]\n"
" -c: run in client mode\n"
" -s: run in server mode\n"
" -d: run in daemon mode\n"
- " -e, --encoding <encoding>: encoding for new database [none|euc|utf8|sjis|latin1|koi8r]\n"
- " -l, --log-level <log level>: log level\n"
" --bind-address <ip/hostname>: server address to bind (default: %s)\n"
" -p, --port <port number>: server port number (default: %d)\n"
" -i, --server-id <ip/hostname>: server ID address (default: %s)\n"
- " -t, --max-threads <max threads>: max number of free threads (default: %d)\n"
- " -h, --help: show usage\n"
- " --document-root <path>: document root path\n"
" --protocol <protocol>: server protocol to listen (default: gqtp)\n"
- " --version: show groonga version\n"
+ " --document-root <path>: document root path\n"
+ " --cache-limit <limit>: specify the max number of cache data\n"
+ " -t, --max-threads <max threads>: max number of free threads (default: %d)\n"
+ " --file <path>: read commands from specified file\n"
+ " -l, --log-level <log level>: log level\n"
" --log-path <path>: specify log path\n"
" --query-log-path <path>: specify query log path\n"
" --pid-path <path>: specify pid file path (daemon mode only)\n"
" --config-path <path>: specify config file path\n"
- " --cache-limit <limit>: specify the max number of cache data\n"
- " --file <path>: read commands from specified file\n"
" --default-command-version <version>:\n"
" specify default command version\n"
" --default-match-escalation-threshold <threshold>:\n"
" specify default match escalation threshold\n"
+ " -h, --help: show usage\n"
+ " --version: show groonga version\n"
"\n"
"dest: <db pathname> [<command>] or <dest hostname>\n"
" <db pathname> [<command>]: when standalone/server mode\n"