mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-24 03:21:15 -03:00
fix several build warnings
This fixes all but one of the warnings documented in issue #2685. The sole remaining warning is from the string split '' abc example in doc_src/string.txt. That example results in the man page displaying string split {} abc I leave it to someone else to fix that problem (I'll open an issue specifically for it since it took some effort to track down the source of the warning). Resolves issue #2685.
This commit is contained in:
@@ -60,7 +60,7 @@ This file has been imported from the printf in GNU Coreutils version 6.9. If you
|
||||
\subsection printf-example Example
|
||||
|
||||
\fish
|
||||
printf '%s\t%s\n' flounder fish
|
||||
printf '\%s\\t\%s\n' flounder fish
|
||||
\endfish
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user