summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-12-06 18:05:08 +0100
committerStefan Kangas <stefankangas@gmail.com>2022-12-06 18:05:08 +0100
commit40af27859e0fc243d1fcfd0ddab4fe1748568c58 (patch)
tree3dd79cb506104f8a863058a50fe6d4bb1986aace /lib-src
parent43b7e7efbf4df178bb3fa42a32e90ee34de84d46 (diff)
downloademacs-40af27859e0fc243d1fcfd0ddab4fe1748568c58.tar.gz
; * lib-src/etags.c (escape_shell_arg_string): Minor doc fix.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index b76590631d8..a06c236140f 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -7722,12 +7722,12 @@ etags_mktmp (void)
#if !MSDOS && !defined (DOS_NT)
/*
- * Adds single quotes around a string, if found single quotes, escaped it.
+ * Add single quotes around a string, and escape any single quotes.
* Return a newly-allocated string.
*
* For example:
- * escape_shell_arg_string("test.txt") => 'test.txt'
- * escape_shell_arg_string("'test.txt") => ''\''test.txt'
+ * escape_shell_arg_string ("test.txt") => "'test.txt'"
+ * escape_shell_arg_string ("'test.txt") => "''\''test.txt'"
*/
static char *
escape_shell_arg_string (char *str)