ソースを参照

Updated doc according to --long option (56efdff)

Alois Mahdal 11 年 前
コミット
8f24cb46d4
共有2 個のファイルを変更した9 個の追加4 個の削除を含む
  1. 4
    3
      README.md
  2. 5
    1
      bin/se

+ 4
- 3
README.md ファイルの表示

@@ -91,9 +91,10 @@ Throw a word at it and by default, it will throw you back few Czech
91 91
 translations of it, one pair per line.  Sweet.  Also supports other languages
92 92
 (about 10 in total).
93 93
 
94
-Most useful options are --lines (default is 25) and --direction which supports
95
-direction keyword in form "LNcz.cz" or "LNcz.LN", where LN is 2-letter code
96
-(**not** ISO) of the other language.
94
+Most useful options are --lines (default is 25), --long, as shorthand
95
+to --lines=50, and --direction, which supports direction keyword in form
96
+"LNcz.cz" or "LNcz.LN", where LN is 2-letter code (**not** ISO) of the other
97
+language.
97 98
 
98 99
 Uses [www.slovnik.cz][2], so an Internet connection and [LWP::Simple][3] are
99 100
 needed.

+ 5
- 1
bin/se ファイルの表示

@@ -120,7 +120,11 @@ one of following:
120 120
     lacz.la, lacz.cz, eocz.eo, eocz.cz, eosk.eo, eosk.sk,
121 121
     plcz.pl, plcz.cz
122 122
 
123
-=item B<-l> I<LINES>, B<--lines=>I<LINES>
123
+=item B<-l>, B<--long>
124
+
125
+Same as C<--lines=50>, which is maximum supported by API
126
+
127
+=item B<-n> I<LINES>, B<--lines=>I<LINES>
124 128
 
125 129
 Number of lines fetched fronm the service and displayed to stdout.
126 130
 Default is 25, but since www.slovnik.cz provides simplistic interface