• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

nkfのGitリポジトリのfork


Commit MetaInfo

Revisiónc5c9aebee8b810276216662c60bb4fa77223736d (tree)
Tiempo2009-01-20 17:34:56
AutorNARUSE, Yui <naruse@user...>
CommiterNARUSE, Yui

Log Message

Update --help.

Cambiar Resumen

Diferencia incremental

--- a/nkf.c
+++ b/nkf.c
@@ -873,17 +873,20 @@ usage(void)
873873 {
874874 fprintf(HELP_OUTPUT,
875875 "Usage: nkf -[flags] [--] [in file] .. [out file for -O flag]\n"
876- " j,s,e,w Output code is ISO-2022-JP, Shift JIS, EUC-JP, UTF-8N\n"
877876 #ifdef UTF8_OUTPUT_ENABLE
878- " After 'w' you can add more options. -w[ 8 [0], 16 [[BL] [0]] ]\n"
877+ " j/s/e/w Specify output encoding ISO-2022-JP, Shift_JIS, EUC-JP\n"
878+ " UTF options is -w[8[0],{16,32}[{B,L}[0]]]\n"
879+#else
879880 #endif
880- " J,S,E,W Input assumption is JIS 7 bit , Shift JIS, EUC-JP, UTF-8\n"
881881 #ifdef UTF8_INPUT_ENABLE
882- " After 'W' you can add more options. -W[ 8, 16 [BL] ] \n"
882+ " J/S/E/W Specify input encoding ISO-2022-JP, Shift_JIS, EUC-JP\n"
883+ " UTF option is -W[8,[16,32][B,L]]\n"
884+#else
885+ " J/S/E Specify output encoding ISO-2022-JP, Shift_JIS, EUC-JP\n"
883886 #endif
884887 );
885888 fprintf(HELP_OUTPUT,
886- " m[BQSN0] MIME decode [B:base64,Q:quoted,S:strict,N:non-strict,0:no decode]\n"
889+ " m[BQSN0] MIME decode [B:base64,Q:quoted,S:strict,N:nonstrict,0:no decode]\n"
887890 " M[BQ] MIME encode [B:base64 Q:quoted]\n"
888891 " f/F Folding: -f60 or -f or -f60-10 (fold margin 10) F preserve nl\n"
889892 );
@@ -898,32 +901,31 @@ usage(void)
898901 " L[uwm] Line mode u:LF w:CRLF m:CR (DEFAULT noconversion)\n"
899902 );
900903 fprintf(HELP_OUTPUT,
901- "Long name options\n"
902- " --ic=<input codeset> --oc=<output codeset>\n"
903- " Specify the input or output codeset\n"
904- " --hiragana --katakana --katakana-hiragana\n"
905- " To Hiragana/Katakana Conversion\n"
904+ " --ic=<encoding> Specify the input encoding\n"
905+ " --oc=<encoding> Specify the output encoding\n"
906+ " --hiragana --katakana Hiragana/Katakana Conversion\n"
907+ " --katakana-hiragana Converts each other\n"
906908 );
907909 fprintf(HELP_OUTPUT,
908910 #ifdef INPUT_OPTION
909- " --cap-input, --url-input Convert hex after ':' or '%%'\n"
911+ " --{cap, url}-input Convert hex after ':' or '%%'\n"
910912 #endif
911913 #ifdef NUMCHAR_OPTION
912- " --numchar-input Convert Unicode Character Reference\n"
914+ " --numchar-input Convert Unicode Character Reference\n"
913915 #endif
914916 #ifdef UTF8_INPUT_ENABLE
915917 " --fb-{skip, html, xml, perl, java, subchar}\n"
916- " Specify how nkf handles unassigned characters\n"
918+ " Specify unassigned character's replacement\n"
917919 #endif
918920 );
919921 fprintf(HELP_OUTPUT,
920922 #ifdef OVERWRITE
921- " --in-place[=SUF] Overwrite original listed files by filtered result\n"
922- " --overwrite[=SUF] in-place and preserve timestamp of original files\n"
923+ " --in-place[=SUF] Overwrite original files\n"
924+ " --overwrite[=SUF] Preserve timestamp of original files\n"
923925 #endif
924- " -g --guess Guess the input code\n"
925- " -v --version print the version\n"
926- " --help/-V print this help / configuration\n"
926+ " -g --guess Guess the input code\n"
927+ " -v --version Print the version\n"
928+ " --help/-V Print this help / configuration\n"
927929 );
928930 version();
929931 }