You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/yqlib/doc/operators/comment-operators.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Comment Operators
2
2
3
-
Use these comment operators to set or retrieve comments.
3
+
Use these comment operators to set or retrieve comments. Note that line comments on maps/arrays are actually set on the _key_ node as opposed to the _value_ (map/array). See below for examples.
4
4
5
5
Like the `=` and `|=` assign operators, the same syntax applies when updating comments:
Copy file name to clipboardExpand all lines: pkg/yqlib/doc/operators/headers/comment-operators.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Comment Operators
2
2
3
-
Use these comment operators to set or retrieve comments.
3
+
Use these comment operators to set or retrieve comments. Note that line comments on maps/arrays are actually set on the _key_ node as opposed to the _value_ (map/array). See below for examples.
4
4
5
5
Like the `=` and `|=` assign operators, the same syntax applies when updating comments:
0 commit comments