Skip to content
Commit f88f211b authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Carles Cufi
Browse files

scripts: ci: check_compliance: improve the "not sorted" command



Add a message to the KeepSorted error message with a oneline command to
sort the block failing the check.

Looks something like:

KeepSorted:sorted block is not sorted, sort by running:
"ex -s -c '14,757 sort i|x' dts/bindings/vendor-prefixes.txt"

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent b21a455d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment