Skip to content

Commit cf63c07

Browse files
committed
Tweaked the CLI help (#2).
1 parent 4ede739 commit cf63c07

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,10 @@ The following arguments are provided. Only `--path` argument is required, other
268268
notebook. If not, Python module will be checked.
269269
-f IGNORE_FUNC_NAME_SUFFIX_LIST, --ignore_func_name_suffix_list IGNORE_FUNC_NAME_SUFFIX_LIST
270270
A suffix list of function name conditions to ignore.
271-
e.g., test_,sample_ Comma separated string is
271+
e.g., test_,sample_. Comma separated string is
272272
acceptable.
273273
-i IGNORE_INFO_ID_LIST, --ignore_info_id_list IGNORE_INFO_ID_LIST
274-
List of IDs to ignore lint checking. e.g, 1,2,3 Comma
274+
List of IDs to ignore lint checking. e.g, 1,2,3. Comma
275275
separated integer is acceptable.
276276
-o, --enable_default_or_optional_doc_check
277277
If specified, the `default` and `optional` stringin

numdoclint/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def main(args=None, return_list=False):
188188
parser.add_argument(
189189
'-r', '--check_recursively',
190190
action='store_true',
191-
help='If specified, check files recursively.'
191+
help='If specified, check files recursively. '
192192
'In that case, you need to specify the directory '
193193
'in the path argument.')
194194
parser.add_argument(
@@ -201,19 +201,19 @@ def main(args=None, return_list=False):
201201
type=_get_list_of_str_from_csv,
202202
default='',
203203
help='A suffix list of function name conditions to ignore.'
204-
'\ne.g., test_,sample_'
204+
'\ne.g., test_,sample_.'
205205
'\nComma separated string is acceptable.')
206206
parser.add_argument(
207207
'-i', '--ignore_info_id_list',
208208
type=_get_list_of_int_from_csv,
209209
default='',
210210
help='List of IDs to ignore lint checking.'
211-
'\ne.g, 1,2,3'
211+
'\ne.g, 1,2,3.'
212212
'\nComma separated integer is acceptable.')
213213
parser.add_argument(
214214
'-o', '--enable_default_or_optional_doc_check',
215215
action='store_true',
216-
help='If specified, the `default` and `optional` string'
216+
help='If specified, the `default` and `optional` string '
217217
'in docstring will be checked.')
218218
parser.add_argument(
219219
'-d', '--skip_decorator_name_list',

0 commit comments

Comments
 (0)