Skip to content

Commit 76ab2aa

Browse files
authored
Merge pull request kivy#7771 from kivy/document_--_separator
Explain the '--' separator for option parsing.
2 parents fe1d9be + 8b51313 commit 76ab2aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kivy/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ def kivy_register_post_configuration(callback):
162162

163163

164164
def kivy_usage():
165-
'''Kivy Usage: %s [OPTION...]::
165+
'''Kivy Usage: %s [KIVY OPTION...] [-- PROGRAM OPTIONS]::
166+
167+
Options placed after a '-- ' separator, will not be touched by kivy,
168+
and instead passed to your program.
166169
167170
Set KIVY_NO_ARGS=1 in your environment or before you import Kivy to
168171
disable Kivy's argument parser.

0 commit comments

Comments
 (0)