From: Rei FURUKAWA Date: Tue, 14 Oct 2003 01:22:45 +0000 (+0000) Subject: usage 修正 X-Git-Tag: v2_0_6_beta2~113 X-Git-Url: http://git.sourceforge.jp/view?p=nkf%2Fnkf.git;a=commitdiff_plain;h=4f99e6deb7b1fb6a626eae223f9b83021796d363 usage 修正 --- diff --git a/nkf.c b/nkf.c index 4471e77..3e4c58b 100644 --- a/nkf.c +++ b/nkf.c @@ -3228,7 +3228,6 @@ void debug(str) } #endif -#ifdef INPUT_OPTION int hex2bin(x) int x; @@ -3237,6 +3236,8 @@ hex2bin(x) return nkf_toupper(x) - 'A' + 10; } +#ifdef INPUT_OPTION + #ifdef ANSI_C_PROTOTYPE int hex_getc(int ch, FILE *f, int (*g)(FILE *f), int (*u)(int c, FILE *f)) #else @@ -3842,12 +3843,12 @@ usage() fprintf(stderr,"d,c Delete \\r in line feed and \\032, Add \\r in line feed\n"); fprintf(stderr,"I Convert non ISO-2022-JP charactor to GETA\n"); fprintf(stderr,"-L[uwm] line mode u:LF w:CRLF m:CR (DEFAULT noconversion)\n"); -#ifdef OVERWRITE - fprintf(stderr," --overwrite Overwrite original listed files by filtered result\n"); -#endif fprintf(stderr,"long name options\n"); fprintf(stderr," --fj,--unix,--mac,--windows convert for the system\n"); fprintf(stderr," --jis,--euc,--sjis,--utf8,--utf16,--mime,--base64 convert for the code\n"); +#ifdef OVERWRITE + fprintf(stderr," --overwrite Overwrite original listed files by filtered result\n"); +#endif fprintf(stderr," --help,--version\n"); version(); }