add PSI/VMS to dump_header.
All checks were successful
Build and Deploy Documentation / build-and-deploy (push) Successful in 18s

This commit is contained in:
2025-11-24 19:25:45 +01:00
parent e1f2941d7f
commit 244baa4dd4

View File

@@ -101,7 +101,7 @@ void dump_header_syntax()
std::cout << std::endl << " -s, --summary : this option is used for LE-uSR data sets only. It will, additionally";
std::cout << std::endl << " to the header information, print the summary file content.";
std::cout << std::endl << " -i, --instrument <inst> : where <inst> is the requested instrument:";
std::cout << std::endl << " lem (default) | gps | ltf | dolly | gpd | hifi | flame.";
std::cout << std::endl << " lem (default) | gps | ltf | dolly | gpd | hifi | flame | vms.";
std::cout << std::endl << " -c, --counts : will show detector counts as well.";
std::cout << std::endl << " -h, --help : will show this help";
std::cout << std::endl << " -v, --version : will show the current version.";
@@ -945,7 +945,7 @@ int main(int argc, char *argv[])
}
if (strcmp(argv[i+1], "lem") && strcmp(argv[i+1], "gps") && strcmp(argv[i+1], "ltf") &&
strcmp(argv[i+1], "dolly") && strcmp(argv[i+1], "gpd") && strcmp(argv[i+1], "hifi") &&
strcmp(argv[i+1], "flame")) {
strcmp(argv[i+1], "flame") && strcmp(argv[i+1], "vms")) {
std::cerr << std::endl << "**ERROR** found --instrument with unkown instrument name: '" << argv[i+1] << "'!" << std::endl;
dump_header_syntax();
return 1;