Quick Reference Guide
34 | Using the Command Line Interface
www.dell.com | support.dell.com
output message displays the ^ marker under the extra āpā, followed by
ā
$%Invalid input detected at '^' marker.ā
Another typical case when an error message appears is when you have entered an
invalid input parameter in the command. The
^ marker shows where in the com-
mand the first character of invalid input was detected.
After all the mandatory parameters are entered, any additional parameters entered
are treated as optional parameters. If any of the parameters are not recognized, a
syntax error message will be displayed.
2. After the command is successfully parsed and validated, the control of execution goes to the corre-
sponding CLI callback function.
3. For mandatory parameters, the command tree extends until the mandatory parameters make the
leaf of the branch. The callback function is only invoked when all the mandatory parameters are
provided. For optional parameters, the command tree extends till the mandatory parameters and
the optional parameters make the leaf of the branch. However, the callback function is associated
with the node where the mandatory parameters are fetched. The callback function then takes care
of the optional parameters.
4. Once the control has reached the callback function, the callback function has complete informa-
tion about the parameters entered.