File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ Changed
3333 ``ParserError ``.
3434- Improved error messages when ``fail_untyped=True `` `#137
3535 <https://github.com/omni-us/jsonargparse/issues/137> `__.
36+ - ``CLI `` no longer uses the module's docstring as main parser description `#245
37+ <https://github.com/omni-us/jsonargparse/issues/245> `__.
3638
3739Deprecated
3840^^^^^^^^^^
Original file line number Diff line number Diff line change @@ -45,8 +45,6 @@ def CLI(
4545 """
4646 return_parser = kwargs .pop ('return_parser' , False )
4747 caller = inspect .stack ()[1 ][0 ]
48- if 'description' not in kwargs :
49- kwargs ['description' ] = caller .f_globals .get ('__doc__' )
5048
5149 if components is None :
5250 module = inspect .getmodule (caller ).__name__ # type: ignore
You can’t perform that action at this time.
0 commit comments