jfjoch_writer: Add deprecated option error/warning
This commit is contained in:
1 parent
613523146a
commit
869f867f7c
1 file changed
+2
@@ -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