MCPcopy Index your code
hub / github.com/kivy/python-for-android / add_dashes

Function add_dashes

pythonforandroid/toolchain.py:64–65  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

62 dest = names[0].strip("-").replace("-", "_")
63
64 def add_dashes(x):
65 return x if x.startswith("-") else "--"+x
66
67 opts = [add_dashes(x) for x in names]
68 group.add_argument(

Callers 1

add_boolean_optionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected