summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
Diffstat (limited to 'Base')
-rw-r--r--Base/usr/share/man/man1/test-js.md2
-rw-r--r--Base/usr/share/man/man3/basename.md8
-rw-r--r--Base/usr/share/man/man3/dirname.md8
3 files changed, 9 insertions, 9 deletions
diff --git a/Base/usr/share/man/man1/test-js.md b/Base/usr/share/man/man1/test-js.md
index d1a6be034e..451743720f 100644
--- a/Base/usr/share/man/man1/test-js.md
+++ b/Base/usr/share/man/man1/test-js.md
@@ -19,7 +19,7 @@ It also supports the [test262 parser tests](https://github.com/tc39/test262-pars
The test root directory is assumed to be `/home/anon/js-tests`, or `$SERENITY_ROOT/Libraries/LibJS/Tests`
when using the Lagom build. Optionally you can pass a custom path to `test-js` to override these defaults.
-You can disable output from `dbg()` calls by setting the `DISABLE_DBG_OUTPUT` environment variable.
+You can disable output from `dbgln()` calls by setting the `DISABLE_DBG_OUTPUT` environment variable.
## Options
diff --git a/Base/usr/share/man/man3/basename.md b/Base/usr/share/man/man3/basename.md
index 716ef8f29e..f670f4129f 100644
--- a/Base/usr/share/man/man3/basename.md
+++ b/Base/usr/share/man/man3/basename.md
@@ -35,16 +35,16 @@ buffer while using the returned string.
int main()
{
char path1[] = "/home/anon/ReadMe.md";
- dbg() << basename(path1); // should be "ReadMe.md"
+ dbgln("{}", basename(path1)); // should be "ReadMe.md"
char path2[] = "foo/bar/";
- dbg() << basename(path2); // should be "bar"
+ dbgln("{}", basename(path2)); // should be "bar"
char path3[] = "foo";
- dbg() << basename(path3); // should be "foo"
+ dbgln("{}", basename(path3)); // should be "foo"
char path4[] = "/";
- dbg() << basename(path4); // should be "/"
+ dbgln("{}", basename(path4)); // should be "/"
}
```
diff --git a/Base/usr/share/man/man3/dirname.md b/Base/usr/share/man/man3/dirname.md
index 6a101d9dbf..509628716d 100644
--- a/Base/usr/share/man/man3/dirname.md
+++ b/Base/usr/share/man/man3/dirname.md
@@ -36,16 +36,16 @@ buffer while using the returned string.
int main()
{
char path1[] = "/home/anon/ReadMe.md";
- dbg() << dirname(path1); // should be "/home/anon"
+ dbgln("{}", dirname(path1)); // should be "/home/anon"
char path2[] = "foo/bar/";
- dbg() << dirname(path2); // should be "foo"
+ dbgln("{}", dirname(path2)); // should be "foo"
char path3[] = "foo";
- dbg() << dirname(path3); // should be "."
+ dbgln("{}", dirname(path3)); // should be "."
char path4[] = "/";
- dbg() << dirname(path4); // should be "/"
+ dbgln("{}", dirname(path4)); // should be "/"
}
```