diff --git a/src/app/options.h b/src/app/options.h index e82e7a4..2aee1e3 100644 --- a/src/app/options.h +++ b/src/app/options.h @@ -10,7 +10,7 @@ typedef std::queue ArgQueue; static inline std::string safePop(ArgQueue &args) { if(args.empty()) { - fprintf(stderr, "unexpected end of command line\n"); + fprintf(stderr, "Unexpected end of command line while parsing argument\n"); exit(1); } diff --git a/src/app/report_json.cpp b/src/app/report_json.cpp index 040af17..d8417f1 100644 --- a/src/app/report_json.cpp +++ b/src/app/report_json.cpp @@ -146,6 +146,7 @@ bool checkComplianceJsonSpec(Box const &file, SpecDesc const *spec, Json::Array bool fail = false; auto root = std::make_unique(); root->content.push_back(std::make_unique("specification", spec->name)); + root->content.push_back(std::make_unique("version", spec->caption)); auto successArray = std::make_unique("successful_checks"); auto uncheckedArray = std::make_unique("unchecked"); auto errorArray = std::make_unique("errors");