Summary:ASTERISK-20095: Incorrect Documentation for DEC function
Reporter:Billy Chia (bchia)Labels:
Date Opened:2012-07-06 15:13:10Date Closed:2012-07-12 09:33:20
Versions:11 10.5.2 10.5.2-digiumphones Frequency of
Environment:Attachments:( 0) func_math.patch
Description:CLI "core show function DEC" says DEC "Increments" MyVar. Should be "Decrements" Also refers to "INC" when it should be "DEC". I'll attach a patch.
Comments:By: Michael L. Young (elguero) 2012-07-06 15:57:20.947-0500

Thank you for your contribution.  We require patches to be unified diffs.  Please use "diff -u" or "svn diff" to create your patch.

By: Billy Chia (bchia) 2012-07-06 16:11:59.389-0500

Unified Diff

By: Michael L. Young (elguero) 2012-07-06 16:22:17.394-0500

It looks like your diff is backwards.

"-" is what is being taken out.  "+" is what it will be replaced with.

By: Billy Chia (bchia) 2012-07-09 15:17:34.528-0500

Here is the patch. I think have it right this time.