Skip to content

Commit

Permalink
Fix indentation on docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
larryfenn committed Dec 9, 2022
1 parent 3363cdd commit 498cd54
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions datakit/datakit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def build_option_parser(self, description, version,
:param version: version number for the application
:paramtype version: str
:param argparse_kwargs: extra keyword argument passed to the
ArgumentParser constructor
ArgumentParser constructor
:paramtype extra_kwargs: dict
"""
argparse_kwargs = argparse_kwargs or {}
Expand Down Expand Up @@ -81,10 +81,10 @@ def build_option_parser(self, description, version,
def print_help_if_requested(self):
"""Print help and exits if deferred help is enabled and requested.
'--help' shows the help message and exits:
* without calling initialize_app if not self.deferred_help (default),
* after initialize_app call if self.deferred_help,
* during initialize_app call if self.deferred_help and subclass calls
explicitly this method in initialize_app.
* without calling initialize_app if not self.deferred_help (default),
* after initialize_app call if self.deferred_help,
* during initialize_app call if self.deferred_help and subclass calls
explicitly this method in initialize_app.
"""
if self.deferred_help and self.options.deferred_help:
action = help.HelpAction(None, None, default=self)
Expand Down

0 comments on commit 498cd54

Please sign in to comment.