jfjoch_writer: Add deprecated option error/warning

This commit is contained in:
2025-12-05 17:00:00 +01:00
parent 613523146a
commit 869f867f7c

View File

@@ -87,6 +87,7 @@ int main(int argc, char **argv) {
break;
case 'H':
// For back compatibility
logger.Error("HTTP port option is deprecated");
break;
case 'r':
zmq_repub_port = atoi(optarg);
@@ -109,6 +110,7 @@ int main(int argc, char **argv) {
zmq_file_port = atoi(optarg);
break;
case 'R': // back compatibility
logger.Warning("-R option is deprecated; use -d");
case 'd':
root_dir = std::string(optarg);
break;