[asterisk-commits] newtonr: trunk r416024 - /trunk/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 12 16:27:07 CDT 2014


Author: newtonr
Date: Thu Jun 12 16:27:02 2014
New Revision: 416024

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=416024
Log:
main/pbx - documentation - enhance 'core show hints' and 'core show hint' help text

Adds descriptive help text to 'core show hints' and 'core show hint'. The text describes the various columns for the sake of clarity. It takes into account recent changes to the content displayed by the commands https://reviewboard.asterisk.org/r/3604/ and https://reviewboard.asterisk.org/r/3611/.

ASTERISK-23764
Review: https://reviewboard.asterisk.org/r/3610/

Modified:
    trunk/main/pbx.c

Modified: trunk/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/pbx.c?view=diff&rev=416024&r1=416023&r2=416024
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Thu Jun 12 16:27:02 2014
@@ -7374,7 +7374,13 @@
 		e->command = "core show hints";
 		e->usage =
 			"Usage: core show hints\n"
-			"       List registered hints\n";
+			"       List registered hints.\n"
+			"       Hint details are shown in five columns. In order from left to right, they are:\n"
+			"       1. Hint extension URI.\n"
+			"       2. List of mapped device or presence state identifiers.\n"
+			"       3. Current extension state. The aggregate of mapped device states.\n"
+			"       4. Current presence state for the mapped presence state provider.\n"
+			"       5. Watchers - number of subscriptions and other entities watching this hint.\n";
 		return NULL;
 	case CLI_GENERATE:
 		return NULL;
@@ -7467,7 +7473,13 @@
 		e->command = "core show hint";
 		e->usage =
 			"Usage: core show hint <exten>\n"
-			"       List registered hint\n";
+			"       List registered hint.\n"
+			"       Hint details are shown in five columns. In order from left to right, they are:\n"
+			"       1. Hint extension URI.\n"
+			"       2. List of mapped device or presence state identifiers.\n"
+			"       3. Current extension state. The aggregate of mapped device states.\n"
+			"       4. Current presence state for the mapped presence state provider.\n"
+			"       5. Watchers - number of subscriptions and other entities watching this hint.\n";
 		return NULL;
 	case CLI_GENERATE:
 		return complete_core_show_hint(a->line, a->word, a->pos, a->n);




More information about the asterisk-commits mailing list