Added clarifying comment
This commit is contained in:
parent
06ed202ef4
commit
e1130a49cd
|
@ -40,6 +40,8 @@ def mk2arg(head, x):
|
||||||
|
|
||||||
|
|
||||||
# Make a shell command argument from a string.
|
# Make a shell command argument from a string.
|
||||||
|
# Return a string beginning with a space followed by a shell-quoted
|
||||||
|
# version of the argument.
|
||||||
# Two strategies: enclose in single quotes if it contains none;
|
# Two strategies: enclose in single quotes if it contains none;
|
||||||
# otherwise, enclose in double quotes and prefix quotable characters
|
# otherwise, enclose in double quotes and prefix quotable characters
|
||||||
# with backslash.
|
# with backslash.
|
||||||
|
|
Loading…
Reference in New Issue