Added profile / rateprofile info to 'get'.

This commit is contained in:
mikeller 2018-06-02 22:27:16 +12:00
parent 532e8afe61
commit 227c08f94e
1 changed files with 13 additions and 0 deletions

View File

@ -3308,6 +3308,19 @@ STATIC_UNIT_TESTED void cliGet(char *cmdline)
cliPrintf("%s = ", valueTable[i].name);
cliPrintVar(val, 0);
cliPrintLinefeed();
switch (val->type & VALUE_SECTION_MASK) {
case PROFILE_VALUE:
cliProfile("");
break;
case PROFILE_RATE_VALUE:
cliRateProfile("");
break;
default:
break;
}
cliPrintVarRange(val);
cliPrintVarDefault(val);
matchedCommands++;