Internal function to determine if a command is a script only command. @param[in] CommandName The pointer to the command name. @retval TRUE The command is a script only command. @retval FALSE The command is not a script only command. **/
| 830 | @retval FALSE The command is not a script only command. |
| 831 | **/ |
| 832 | BOOLEAN |
| 833 | IsScriptOnlyCommand( |
| 834 | IN CONST CHAR16 *CommandName |
| 835 | ) |
| 836 | { |
| 837 | if (IsCommand(CommandName, L"for") |
| 838 | ||IsCommand(CommandName, L"endfor") |
| 839 | ||IsCommand(CommandName, L"if") |
| 840 | ||IsCommand(CommandName, L"else") |
| 841 | ||IsCommand(CommandName, L"endif") |
| 842 | ||IsCommand(CommandName, L"goto")) { |
| 843 | return (TRUE); |
| 844 | } |
| 845 | return (FALSE); |
| 846 | } |
| 847 | |
| 848 | /** |
| 849 | This function will populate the 2 device path protocol parameters based on the |
no test coverage detected