pcu_main: Mark -r cmdline param as deprecated
We have VTY support for it enabled in osmo-pcu since a while ago. Let's
mark it as depcreated now so that we can drop this cmdline arg in the
future.
Change-Id: Ic39c94984cb311aac0464d69f564af6d5447bd0f
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 003cabb..7992853 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -74,7 +74,6 @@
" -m --mcc MCC Use given MCC instead of value provided by BTS\n"
" -n --mnc MNC Use given MNC instead of value provided by BTS\n"
" -V --version Print version\n"
- " -r --realtime PRIO Use SCHED_RR with the specified priority\n"
" -D --daemonize Fork the process into a background daemon\n"
" -i --gsmtap-ip The destination IP used for GSMTAP\n"
"\nVTY reference generation:\n"
@@ -165,6 +164,8 @@
break;
case 'r':
rt_prio = atoi(optarg);
+ fprintf(stderr, "Command line argument '-r' is deprecated, use VTY "
+ "cpu-sched node setting 'policy rr %d' instead.\n", rt_prio);
break;
case 'D':
daemonize = true;