fixeria has submitted this change. (
https://gerrit.osmocom.org/c/osmo-pcap/+/42837?usp=email )
(
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted
one.
)Change subject: server: vty: fix docs for cfg_server_rotate_localtime[_mod_n]
......................................................................
server: vty: fix docs for cfg_server_rotate_localtime[_mod_n]
Change-Id: I6fd1d081bba035fbd9d72a1705ab58194edf274e
Fixes: 18747641 ("pcap-server: Make rotate-localtime feature configurable
through VTY")
---
M src/osmo_server_vty.c
1 file changed, 7 insertions(+), 3 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
fixeria: Looks good to me, approved
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
diff --git a/src/osmo_server_vty.c b/src/osmo_server_vty.c
index dfe9857..f96df7f 100644
--- a/src/osmo_server_vty.c
+++ b/src/osmo_server_vty.c
@@ -331,7 +331,9 @@
"Rotate every Second\n"
"Rotate every Minute\n"
"Rotate every Hour\n"
- "Rotate every Day\n")
+ "Rotate every Day\n"
+ "Rotate every Month\n"
+ "Rotate every Year\n")
{
return apply_rotate_localtime(vty,
get_string_value(time_interval_names, argv[0]), 1);
}
@@ -344,8 +346,10 @@
"Rotate every Minute\n"
"Rotate every Hour\n"
"Rotate every Day\n"
- "Rotate every Nth second/minute/hour/day/month/year"
- "Nth second/minute/hour/day/month/year")
+ "Rotate every Month\n"
+ "Rotate every Year\n"
+ "Rotate every Nth second/minute/hour/day/month/year\n"
+ "Nth second/minute/hour/day/month/year\n")
{
unsigned long long modulus = strtoull(argv[1], NULL, 10);
return apply_rotate_localtime(vty,
get_string_value(time_interval_names, argv[0]), modulus);
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcap/+/42837?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-pcap
Gerrit-Branch: master
Gerrit-Change-Id: I6fd1d081bba035fbd9d72a1705ab58194edf274e
Gerrit-Change-Number: 42837
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>