diff --git a/doc_src/printf.txt b/doc_src/printf.txt index 49fb0ad6a..26b60618c 100644 --- a/doc_src/printf.txt +++ b/doc_src/printf.txt @@ -65,6 +65,6 @@ printf '%s\\t%s\\n' flounder fish Will print "flounder fish" (separated with a tab character), followed by a newline character. This is useful for writing completions, as fish expects completion scripts to output the option followed by the description, separated with a tab character. \fish -printf '%s:%d' "Number of bananas in my pocket" 42 +printf '%s: %d' "Number of bananas in my pocket" 42 \endfish Will print "Number of bananas in my pocket: 42", _without_ a newline.