[Groonga-commit] groonga/groonga at af55f90 [master] groonga: add missing "SHOW_"

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 10 23:56:19 JST 2014


Kouhei Sutou	2014-12-10 23:56:19 +0900 (Wed, 10 Dec 2014)

  New Revision: af55f90e723fe6988185b2a0888614412b5a30ac
  https://github.com/groonga/groonga/commit/af55f90e723fe6988185b2a0888614412b5a30ac

  Message:
    groonga: add missing "SHOW_"

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+3 -3)
===================================================================
--- src/groonga.c    2014-12-10 23:55:43 +0900 (dde3f5b)
+++ src/groonga.c    2014-12-10 23:56:19 +0900 (7369b0c)
@@ -1925,7 +1925,7 @@ g_server(char *path)
 enum {
   ACTION_USAGE = 1,
   ACTION_VERSION,
-  ACTION_CONFIG,
+  ACTION_SHOW_CONFIG,
   ACTION_ERROR
 };
 
@@ -2458,7 +2458,7 @@ main(int argc, char **argv)
     {'\0', "query-log-path", NULL, 0, GETOPT_OP_NONE},
     {'\0', "pid-path", NULL, 0, GETOPT_OP_NONE},
     {'\0', "config-path", NULL, 0, GETOPT_OP_NONE},
-    {'\0', "show-config", NULL, ACTION_CONFIG, GETOPT_OP_UPDATE},
+    {'\0', "show-config", NULL, ACTION_SHOW_CONFIG, GETOPT_OP_UPDATE},
     {'\0', "cache-limit", NULL, 0, GETOPT_OP_NONE},
     {'\0', "file", NULL, 0, GETOPT_OP_NONE},
     {'\0', "document-root", NULL, 0, GETOPT_OP_NONE},
@@ -2545,7 +2545,7 @@ main(int argc, char **argv)
   case ACTION_USAGE :
     show_usage(output);
     return EXIT_SUCCESS;
-  case ACTION_CONFIG :
+  case ACTION_SHOW_CONFIG :
     show_config(output, opts, mode & ~ACTION_MASK);
     return EXIT_SUCCESS;
   case ACTION_ERROR :
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index