Skip to content

Commit

Permalink
options: Add help strings to unimplemented options
Browse files Browse the repository at this point in the history
  • Loading branch information
chfoo committed Feb 23, 2015
1 parent 6c3be0e commit fa850f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
20 changes: 12 additions & 8 deletions wpull/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,14 +614,16 @@ def _add_download_args(self):
'--user',
help=_('username for both FTP and HTTP authentication')
)
group.add_argument(
password_group = group.add_mutually_exclusive_group()
password_group.add_argument(
'--password',
help=_('password for both FTP and HTTP authentication')
)
# self.add_argument(
# '--ask-password',
# action='store_true',
# )
# password_group.add_argument(
# '--ask-password',
# action='store_true',
# help=_('ask for a password on each connection')
# )
group.add_argument(
'--no-iri',
action='store_true',
Expand All @@ -637,9 +639,11 @@ def _add_download_args(self):
metavar='ENC',
help=_('force decoding documents using codec ENC'),
)
# self.add_argument(
# '--unlink'
# )
# self.add_argument(
# '--unlink',
# action='store_true',
# help=_('unlink file before overwriting it')
# )
group.add_argument(
'--max-filename-length',
metavar='NUMBER',
Expand Down
1 change: 0 additions & 1 deletion wpull/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class BaseWriter(object, metaclass=abc.ABCMeta):
@abc.abstractmethod
def session(self):
'''Return an instance of :class:`BaseWriterSession`.'''
pass


class BaseWriterSession(object, metaclass=abc.ABCMeta):
Expand Down

0 comments on commit fa850f2

Please sign in to comment.