diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-11-11 20:34:04 -0500 |
---|---|---|
committer | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-11-17 00:17:05 -0500 |
commit | 5db3f8ac3ddfcf8ceb92db6ce69884ad5ffaa498 (patch) | |
tree | 74b7fbcc9b0af5d629b6c0aaae7b9c03847f1de4 | |
parent | a320274179ef36aa5aeb4827f777027c3ab3d785 (diff) | |
download | meson-5db3f8ac3ddfcf8ceb92db6ce69884ad5ffaa498.zip meson-5db3f8ac3ddfcf8ceb92db6ce69884ad5ffaa498.tar.gz meson-5db3f8ac3ddfcf8ceb92db6ce69884ad5ffaa498.tar.bz2 |
fs: correct docs
-rw-r--r-- | docs/markdown/Fs-module.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/markdown/Fs-module.md b/docs/markdown/Fs-module.md index 8ce5e32..423ec8e 100644 --- a/docs/markdown/Fs-module.md +++ b/docs/markdown/Fs-module.md @@ -69,28 +69,28 @@ It allows changing the filename suffix like: ```meson original = '/opt/foo.ini' -new = fs.with_suffix('.txt') # /opt/foo.txt +new = fs.with_suffix(original, '.txt') # /opt/foo.txt ``` #### add suffix ```meson original = '/opt/foo' -new = fs.with_suffix('.txt') # /opt/foo.txt +new = fs.with_suffix(original, '.txt') # /opt/foo.txt ``` #### compound suffix swap ```meson original = '/opt/foo.dll.a' -new = fs.with_suffix('.so') # /opt/foo.dll.so +new = fs.with_suffix(original, '.so') # /opt/foo.dll.so ``` #### delete suffix ```meson original = '/opt/foo.dll.a' -new = fs.with_suffix('') # /opt/foo.dll +new = fs.with_suffix(original, '') # /opt/foo.dll ``` The files need not actually exist yet for this method, as it's just string manipulation.
\ No newline at end of file |