[Pywikipedia-l] SVN: [6599] trunk/pywikipedia/copyright.py

cosoleto at svn.wikimedia.org cosoleto at svn.wikimedia.org
Sun Apr 12 10:21:04 UTC 2009


Revision: 6599
Author:   cosoleto
Date:     2009-04-12 10:21:04 +0000 (Sun, 12 Apr 2009)

Log Message:
-----------
Documented -text command line option

Modified Paths:
--------------
    trunk/pywikipedia/copyright.py

Modified: trunk/pywikipedia/copyright.py
===================================================================
--- trunk/pywikipedia/copyright.py	2009-04-12 09:18:51 UTC (rev 6598)
+++ trunk/pywikipedia/copyright.py	2009-04-12 10:21:04 UTC (rev 6599)
@@ -33,6 +33,8 @@
 -output      - Append results to a specified file (default:
                'copyright/output.txt')
 
+-text:input_text - Work on a specified text
+
 -file        - Work on all pages given in a local text file.
                Will read any [[wiki link]] and use these articles.
                Argument can also be given as "-file:filename".
@@ -67,6 +69,11 @@
 
     python copyright.py -cat:"Wikipedia featured articles" -maxquery:0
 
+You can include also the text to examine directly on the command line:
+
+    python copyright.py -text:"
+    ...text...
+    "
 """
 
 #





More information about the Pywikipedia-l mailing list