From 8889a8cc33b078d0cea4345ad8be4e90935ec825 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 28 Mar 2019 16:00:10 -0700 Subject: [PATCH] extract-ofp-fields: Improve error message. Without this change, it's not obvious what needs to be edited. Acked-by: Numan Siddique Signed-off-by: Ben Pfaff --- build-aux/extract-ofp-fields | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-aux/extract-ofp-fields b/build-aux/extract-ofp-fields index e159a1df6..7a4e8e170 100755 --- a/build-aux/extract-ofp-fields +++ b/build-aux/extract-ofp-fields @@ -757,7 +757,9 @@ ovs\-fields \- protocol header fields in OpenFlow and Open vSwitch for f in fields: if "used" not in f: - fatal("%s: field not documented" % f["mff"]) + fatal("%s: field not documented " + "(please add documentation in lib/meta-flow.xml)" + % f["mff"]) if n_errors: sys.exit(1)