X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=src%2Fdumpword.c;h=9574364de72f7872cafcb02adf50b71a21f11196;hp=d0afa9f8457d1b2753f0cedb8c43dd1b99265aa1;hb=a639337a9aa30a059c1695ab1701b8714fd26193;hpb=d1f82970bf7d41db2fea11b08cd8e308f6cb8138 diff --git a/src/dumpword.c b/src/dumpword.c index d0afa9f..9574364 100644 --- a/src/dumpword.c +++ b/src/dumpword.c @@ -5,6 +5,9 @@ #include "word.h" #include "cerr.h" +/** + * dumpwordコマンドのオプション + */ static struct option longopts[] = { { "arithmetic", no_argument, NULL, 'a' }, { "logical", no_argument, NULL, 'l' }, @@ -23,6 +26,7 @@ int main(int argc, char *argv[]) const char *usage = "Usage: %s [-alh] WORD\n"; cerr_init(); + addcerrlist_word(); while((opt = getopt_long(argc, argv, "alh", longopts, NULL)) != -1) { switch(opt) { case 'l':