Skip to content

Commit d1555ad

Browse files
committed
Replace hard-coded name
1 parent 0f86de6 commit d1555ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/elapi/cli/_doc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
This script includes docstring for elapi. The docstrings are mainly meant to be used with a CLI interface.
33
"""
4-
from ..configuration import APP_NAME
4+
from ..configuration import APP_NAME, DEFAULT_EXPORT_DATA_FORMAT
55
from ..styles import BaseFormat
66

77
supported_highlighting_formats = ", ".join(
@@ -40,7 +40,7 @@
4040
f"If _--format/-F_ is absent, then {APP_NAME} can use the file extension as the data format. "
4141
f"If _--format/-F_ is also present, then file extension is ignored, and --format value takes precedence.",
4242
"data_format": f"Format style for the output. Supported values are: {supported_highlighting_formats}. "
43-
"The values are case insensitive. The default format is `JSON`. "
43+
f"The values are case insensitive. The default format is `{DEFAULT_EXPORT_DATA_FORMAT.upper()}`. "
4444
"When 'txt' is used, the response will be sent in *original*, un-formatted (almost), "
4545
"without syntax highlighting. This can be utilized if one wishes to pipe the output "
4646
" to some external formatting program like `less`. "

0 commit comments

Comments
 (0)