diff options
| author | Cody Logan <clpo13@gmail.com> | 2020-07-22 17:17:56 -0700 |
|---|---|---|
| committer | Cody Logan <clpo13@gmail.com> | 2020-07-22 17:17:56 -0700 |
| commit | c076199f4bce675aeced4caa6f70d859d999b171 (patch) | |
| tree | 8d0644745f5cbf68899540c9c3d171ff177dc795 /wikiget/wikiget.py | |
| parent | d847c2c02c7c93413f56432f13ae513104186ebd (diff) | |
| download | wikiget-c076199f4bce675aeced4caa6f70d859d999b171.tar.gz wikiget-c076199f4bce675aeced4caa6f70d859d999b171.zip | |
Update program help text
Diffstat (limited to 'wikiget/wikiget.py')
| -rw-r--r-- | wikiget/wikiget.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/wikiget/wikiget.py b/wikiget/wikiget.py index 495f944..6235d6c 100644 --- a/wikiget/wikiget.py +++ b/wikiget/wikiget.py @@ -45,7 +45,7 @@ def main(): extent permitted by law. """) parser.add_argument('FILE', help=""" - name of the file to download with the File: or Image: + name of the file to download with the File: prefix, or the URL of its file description page """) parser.add_argument('-V', '--version', action='version', @@ -65,14 +65,12 @@ def main(): help='MediaWiki site to download from ' '(default: %(default)s)') parser.add_argument('-p', '--path', default=DEFAULT_PATH, - help='MediaWiki site path to download from ' - '(default: %(default)s)') - parser.add_argument('--username', default="", - help='MediaWiki site username ' - '(default: %(default)s)') - parser.add_argument('--password', default="", - help='MediaWiki site password ' + help='MediaWiki site path, where api.php is located ' '(default: %(default)s)') + parser.add_argument('--username', default='', + help='MediaWiki site username, for private wikis') + parser.add_argument('--password', default='', + help='MediaWiki site password, for private wikis') output_options = parser.add_mutually_exclusive_group() output_options.add_argument('-o', '--output', help='write download to OUTPUT') |
