X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ShellPkg%2FLibrary%2FUefiShellLevel3CommandsLib%2FUefiShellLevel3CommandsLib.c;h=448f7234ddbf47ad6a227b06cb125b42d2ff2d3d;hb=7a141b1306f61c1cf92847d3d2743f4f57965227;hp=3c4fe542604312e557dcd3090ce4734ced5f16dd;hpb=82571fb5d1c9093fd2387fc4a35a9f6fe5d541f4;p=mirror_edk2.git diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c b/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c index 3c4fe54260..448f7234dd 100644 --- a/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c +++ b/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c @@ -1,6 +1,7 @@ /** @file Main file for NULL named library for level 3 shell command functions. + (C) Copyright 2014 Hewlett-Packard Development Company, L.P.
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -15,10 +16,6 @@ CONST CHAR16 gShellLevel3FileName[] = L"ShellCommands"; EFI_HANDLE gShellLevel3HiiHandle = NULL; -STATIC CONST EFI_GUID gShellLevel3HiiGuid = \ - { \ - 0x4344558d, 0x4ef9, 0x4725, { 0xb1, 0xe4, 0x33, 0x76, 0xe8, 0xd6, 0x97, 0x4f } \ - }; /** return the filename to get help from is not using HII. @@ -79,6 +76,8 @@ ShellLevel3CommandsLibConstructor ( ShellCommandRegisterCommandName(L"getmtc", ShellCommandRunGetMtc , ShellCommandGetManFileNameLevel3, 3, L"", TRUE , gShellLevel3HiiHandle, STRING_TOKEN(STR_GET_HELP_GETMTC)); ShellCommandRegisterCommandName(L"help", ShellCommandRunHelp , ShellCommandGetManFileNameLevel3, 3, L"", TRUE , gShellLevel3HiiHandle, STRING_TOKEN(STR_GET_HELP_HELP)); + ShellCommandRegisterAlias(L"type", L"cat"); + return (EFI_SUCCESS); }