• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

oga's tools


Commit MetaInfo

修訂d9d08cde1c7bfe3f26bad44ee7b6c87a51777dd1 (tree)
時間2014-01-15 05:26:55
作者oga <hyperoga@gmai...>
Commiteroga

Log Message

2013/12/24 V0.11 add -name to usage

Change Summary

差異

--- a/kanji2.c
+++ b/kanji2.c
@@ -3,6 +3,7 @@
33 * sjis, unicode, utf-8のコードマップを出力する
44 *
55 * 2013/12/21 V0.10 by oga.
6+ * 2013/12/24 V0.11 add -name to usage
67 */
78 #include <stdio.h>
89 #include <string.h>
@@ -533,9 +534,10 @@ int main(int a, char *b[])
533534
534535 for (i = 1; i<a; i++) {
535536 if (!strcmp(b[i], "-h")) {
536- printf("usage: kanji2 [{<-sjis>|-uni|-utf8}] [-nobom] [-all]\n");
537- printf(" -nobom : Don't output byte order mark.\n");
537+ printf("usage: kanji2 [{<-sjis>|-uni|-utf8}] [-nobom] [-all] [-name]\n");
538538 printf(" -all : Output 0x20-0x%06x\n", CODE_MAX2);
539+ printf(" -name : Outut area name.\n");
540+ printf(" -nobom : Don't output byte order mark.\n");
539541 return 1;
540542 }
541543 if (!strcmp(b[i], "-sjis")) {