aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2020-01-20 21:30:09 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2020-01-25 08:17:56 +0700
commitb7ddbf377f747298fe2bf0f70f554e82348d0ad3 (patch)
treef5501706903259fa705c0f40f5ddf3cd24b53f46 /src
parent4b4a1a13bcfa96daba6e540279dea94324417c72 (diff)
VTY: mark 'subscriber create imsi' command as deprecated
Neither it should appear in the interactive VTY nor in documentation. Change-Id: I208faab69a40948af5d081edbeaf75f586dfb2e4
Diffstat (limited to 'src')
-rw-r--r--src/libmsc/msc_vty.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index cd82a07a7..90cfc9daa 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -1222,13 +1222,12 @@ DEFUN(show_subscr, show_subscr_cmd,
return CMD_SUCCESS;
}
-DEFUN(subscriber_create,
- subscriber_create_cmd,
- "subscriber create imsi ID",
- "Operations on a Subscriber\n" \
- "Create new subscriber\n" \
- "Identify the subscriber by his IMSI\n" \
- "Identifier for the subscriber\n")
+DEFUN_DEPRECATED(subscriber_create, subscriber_create_cmd,
+ "subscriber create imsi ID",
+ "Operations on a Subscriber\n"
+ "Create new subscriber\n"
+ "Identify the subscriber by his IMSI\n"
+ "Identifier for the subscriber\n")
{
vty_out(vty, "%% 'subscriber create' now needs to be done at osmo-hlr%s",
VTY_NEWLINE);