Skip to content

Commit 77ce168

Browse files
committed
generate-accessors: output added list with correct formatting
Simplify maintainers' workflow by printing the symbols to add in the correct format so they can be copied and pasted directly. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 04867ff commit 77ce168

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libnvme/tools/generator/update-accessors.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ check_ld_drift() {
9999
echo ""
100100
if [ -n "$added" ]; then
101101
echo " Symbols to ADD (new version section, e.g. <PREFIX>_ACCESSORS_X_Y):"
102-
printf '%s\n' "$added" | sed 's/^/ /'
102+
printf '%s\n' "$added" | sed 's/^/\t\t/' | sed 's/$/;/'
103103
fi
104104
if [ -n "$removed" ]; then
105105
echo ""

0 commit comments

Comments
 (0)