oga's tools
修訂 | d9d08cde1c7bfe3f26bad44ee7b6c87a51777dd1 (tree) |
---|---|
時間 | 2014-01-15 05:26:55 |
作者 | oga <hyperoga@gmai...> |
Commiter | oga |
2013/12/24 V0.11 add -name to usage
@@ -3,6 +3,7 @@ | ||
3 | 3 | * sjis, unicode, utf-8のコードマップを出力する |
4 | 4 | * |
5 | 5 | * 2013/12/21 V0.10 by oga. |
6 | + * 2013/12/24 V0.11 add -name to usage | |
6 | 7 | */ |
7 | 8 | #include <stdio.h> |
8 | 9 | #include <string.h> |
@@ -533,9 +534,10 @@ int main(int a, char *b[]) | ||
533 | 534 | |
534 | 535 | for (i = 1; i<a; i++) { |
535 | 536 | 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"); | |
538 | 538 | 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"); | |
539 | 541 | return 1; |
540 | 542 | } |
541 | 543 | if (!strcmp(b[i], "-sjis")) { |