Skip to content

Commit

Permalink
Better formulation for undocumented flag doc
Browse files Browse the repository at this point in the history
  • Loading branch information
domna committed Sep 15, 2023
1 parent c360bf6 commit f324be3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions pynxtools/dataconverter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ user@box:~$ pip install git+https://github.com/FAIRmat-NFDI/pynxtools.git
Converts experimental data to NeXus/HDF5 files based on any provided NXDL.

```console
user@box:~$ dataconverter --help
Usage: dataconverter [OPTIONS]

The CLI entrypoint for the convert function
Expand All @@ -35,8 +34,8 @@ Options:
checking the documentation.
--params-file FILENAME Allows to pass a .yaml file with all the
parameters the converter supports.
--undocumented Shows a log output for all fields which are
undocumented
--undocumented Shows a log output for all undocumented
fields
--help Show this message and exit.
```

Expand Down
2 changes: 1 addition & 1 deletion pynxtools/dataconverter/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def parse_params_file(params_file):
'--undocumented',
is_flag=True,
default=False,
help='Shows a log output for all fields which are undocumented'
help='Shows a log output for all undocumented fields'
)
# pylint: disable=too-many-arguments
def convert_cli(input_file: Tuple[str],
Expand Down

0 comments on commit f324be3

Please sign in to comment.