jfjoch_writer: Add deprecated option error/warning
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user