[Groonga-commit] groonga/groonga [master] changed -f option to --file option. #381

Back to archive index

null+****@clear***** null+****@clear*****
2010年 7月 22日 (木) 17:10:44 JST


Nobuyoshi Nakada	2010-07-22 08:10:44 +0000 (Thu, 22 Jul 2010)

  New Revision: c357b277fc60d44b262240ac0968454c91ab3e84

  Log:
    changed -f option to --file option.  #381

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+2 -2)
===================================================================
--- src/groonga.c    2010-07-22 08:01:18 +0000 (914d020)
+++ src/groonga.c    2010-07-22 08:10:44 +0000 (d140364)
@@ -101,7 +101,7 @@ usage(FILE *output)
           "  --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"
-          "  -f <path>:                        read commands from specified file\n"
+          "  --file <path>:                    read commands from specified file\n"
           "\n"
           "dest: <db pathname> [<command>] or <dest hostname>\n"
           "  <db pathname> [<command>]: when standalone/server mode\n"
@@ -2044,7 +2044,7 @@ main(int argc, char **argv)
     {'\0', "config-path", NULL, 0, getopt_op_none},
     {'\0', "show-config", NULL, mode_config, getopt_op_update},
     {'\0', "cache-limit", NULL, 0, getopt_op_none},
-    {'f', NULL, NULL, 0, getopt_op_none},
+    {'\0', "file", NULL, 0, getopt_op_none},
     {'\0', NULL, NULL, 0, 0}
   };
   opts[0].arg = &portstr;




Groonga-commit メーリングリストの案内
Back to archive index