コミットメタ情報

リビジョン3b93b774d50634f0b1731fd71bec30114e2511cb (tree)
日時2011-05-31 00:11:55
作者masahino
コミッターmasahino

ログメッセージ

delete -g option and add -t option #25339

変更サマリ

差分

diff -r 1f8ff223ae98 -r 3b93b774d506 src/main.c
--- a/src/main.c Mon May 30 23:55:08 2011 +0900
+++ b/src/main.c Tue May 31 00:11:55 2011 +0900
@@ -65,7 +65,11 @@
6565 {
6666 printf("\nwmuim version: %s\n", VERSION);
6767 printf("usage:\n");
68+#ifdef USE_IMLIB2
69+ printf("wmuim [-d] [-t] [-p uim-pref name] [-s uim-im-switcher name]\n");
70+#else
6871 printf("wmuim [-d] [-p uim-pref name] [-s uim-im-switcher name]\n");
72+#endif /* USE_IMLIB2 */
6973 }
7074
7175 static void ParseCMDLine(int argc, char *argv[])
@@ -76,8 +80,8 @@
7680 if (strcmp(argv[i], "-d") == 0) {
7781 debug = True;
7882 #ifdef USE_IMLIB2
79- } else if (strcmp(argv[i], "-g") == 0) {
80- graphical_mode = True;
83+ } else if (strcmp(argv[i], "-t") == 0) {
84+ graphical_mode = False;
8185 #endif /* USE_IMLIB2 */
8286 } else if (strcmp(argv[i], "-p") == 0) {
8387 /* uim-prep-xxx */
@@ -152,7 +156,11 @@
152156
153157 uim_fd = wmuim_init();
154158 debug = False;
159+#ifdef USE_IMLIB2
160+ graphical_mode = True;
161+#else
155162 graphical_mode = False;
163+#endif /* USE_IMLIB2 */
156164
157165 ParseCMDLine(argc, argv);
158166
旧リポジトリブラウザで表示