[asterisk-commits] newtonr: branch 1.8 r415998 - /branches/1.8/main/pbx.c

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


Author: newtonr
Date: Thu Jun 12 16:15:12 2014
New Revision: 415998

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=415998
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.

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

Modified:
    branches/1.8/main/pbx.c

Modified: branches/1.8/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/pbx.c?view=diff&rev=415998&r1=415997&r2=415998
==============================================================================
--- branches/1.8/main/pbx.c (original)
+++ branches/1.8/main/pbx.c Thu Jun 12 16:15:12 2014
@@ -6557,7 +6557,12 @@
 		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 four columns. In order from left to right, they are:\n"
+			"       1. Hint extension URI.\n"
+			"       2. Mapped device state identifiers.\n"
+			"       3. Current extension state. The aggregate of mapped device states.\n"
+			"       4. Watchers - number of subscriptions and other entities watching this hint.\n";
 		return NULL;
 	case CLI_GENERATE:
 		return NULL;
@@ -6643,7 +6648,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 four columns. In order from left to right, they are:\n"
+			"       1. Hint extension URI.\n"
+			"       2. Mapped device state identifiers.\n"
+			"       3. Current extension state. The aggregate of mapped device states.\n"
+			"       4. 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