Skip to content

Commit 806437f

Browse files
author
Ryan Patrick Kyle
committed
🐛 don't include ... in usage if wildcards not present
1 parent f116bec commit 806437f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dash/development/_r_components_generation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
}}
6666
6767
\\usage{{
68-
{prefix}{name}({default_argtext}, ...)
68+
{prefix}{name}({default_argtext})
6969
}}
7070
7171
\\arguments{{
@@ -331,6 +331,7 @@ def write_help_file(name, props, description, prefix):
331331

332332
if has_wildcards:
333333
item_text += '\n\n\\item{...}{wildcards: `data-*` or `aria-*`}'
334+
default_argtext += ', ...'
334335

335336
file_path = os.path.join('man', file_name)
336337
with open(file_path, 'w') as f:

0 commit comments

Comments
 (0)