diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-11-12 13:22:34 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-11-12 17:00:34 +0100 |
commit | afd9393a2dbfcc641abb37b46fd6840e3fb429ae (patch) | |
tree | bd203cb16c24695a6e54314f013c0b2d413ff949 /src | |
parent | 17bfbedbc785677c545914a40d02f9f6e5cd5e3d (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/pcu_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp index 003cabb4..79928530 100644 --- a/src/pcu_main.cpp +++ b/src/pcu_main.cpp @@ -74,7 +74,6 @@ static void print_help() " -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 @@ static void handle_options(int argc, char **argv) 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; |