Browse Source

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

Alois Mahdal 11 years ago
parent
commit
8f24cb46d4
2 changed files with 9 additions and 4 deletions
  1. 4
    3
      README.md
  2. 5
    1
      bin/se

+ 4
- 3
README.md View File

@@ -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 View File

@@ -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