aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-11-18 10:32:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-11-18 10:32:58 +0200
commitcf652392b0d0a88899ac4178851affef43af1631 (patch)
tree2439f32a31534e09f383fbad2cfe94c512b4084f /libbuild2
parentd0d723cb86696dda3a0bcb1aa2147f09669d58e5 (diff)
Fix incorrect diag builtin examples
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/adhoc-rule-buildscript.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/adhoc-rule-buildscript.cxx b/libbuild2/adhoc-rule-buildscript.cxx
index bd61a23..2cec3f3 100644
--- a/libbuild2/adhoc-rule-buildscript.cxx
+++ b/libbuild2/adhoc-rule-buildscript.cxx
@@ -1738,8 +1738,8 @@ namespace build2
// With this approach, the way to re-create the default diagnostics would
// be:
//
- // diag <prog> ($>[0]) -> $<
- // diag <prog> $<
+ // diag <prog> ($<[0]) -> $>
+ // diag <prog> $>
//
auto i (ns.begin ()), e (ns.end ());