[Asterisk-code-review] Resolve warning about duplicate 'dialplan' CLI. (asterisk[master])

Joshua Colp asteriskteam at digium.com
Wed Oct 3 08:31:22 CDT 2018


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/10372 )

Change subject: Resolve warning about duplicate 'dialplan' CLI.
......................................................................

Resolve warning about duplicate 'dialplan' CLI.

Change-Id: I029db1b4a32ccfb38374d6fe944dc430866f4b30
---
M pbx/pbx_config.c
1 file changed, 2 insertions(+), 3 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
  George Joseph: Looks good to me, approved



diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index b1d5d53..9bb2796 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -1610,12 +1610,11 @@
 	AST_CLI_DEFINE(handle_cli_dialplan_remove_ignorepat, "Remove ignore pattern from context"),
 	AST_CLI_DEFINE(handle_cli_dialplan_add_include,      "Include context in other context"),
 	AST_CLI_DEFINE(handle_cli_dialplan_remove_include,   "Remove a specified include from context"),
-	AST_CLI_DEFINE(handle_cli_dialplan_reload,           "Reload extensions and *only* extensions"),
-	AST_CLI_DEFINE(handle_cli_dialplan_save,             "Save current dialplan into a file")
+	AST_CLI_DEFINE(handle_cli_dialplan_reload,           "Reload extensions and *only* extensions")
 };
 
 static struct ast_cli_entry cli_dialplan_save =
-	AST_CLI_DEFINE(handle_cli_dialplan_save, "Save dialplan");
+	AST_CLI_DEFINE(handle_cli_dialplan_save,             "Save current dialplan into a file");
 
 #define AMI_EXTENSION_ADD "DialplanExtensionAdd"
 #define AMI_EXTENSION_REMOVE "DialplanExtensionRemove"

-- 
To view, visit https://gerrit.asterisk.org/10372
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I029db1b4a32ccfb38374d6fe944dc430866f4b30
Gerrit-Change-Number: 10372
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181003/48fdb44d/attachment.html>


More information about the asterisk-code-review mailing list