]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add new alias called ‘cat’ for ‘type’ command.
authorTapan Shah <tapandshah@hp.com>
Fri, 29 Aug 2014 20:19:36 +0000 (20:19 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 29 Aug 2014 20:19:36 +0000 (20:19 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-By: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15987 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c

index e784872d6319a26b8bada96646866317540875d2..c401b71be6de8e320e60c6ea95227e075883f936 100644 (file)
@@ -1,6 +1,7 @@
 /** @file\r
   Main file for NULL named library for level 3 shell command functions.\r
 \r
+  Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>\r
   Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved. <BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -75,6 +76,8 @@ ShellLevel3CommandsLibConstructor (
   ShellCommandRegisterCommandName(L"getmtc",  ShellCommandRunGetMtc , ShellCommandGetManFileNameLevel3, 3, L"", TRUE , gShellLevel3HiiHandle, STRING_TOKEN(STR_GET_HELP_GETMTC));\r
   ShellCommandRegisterCommandName(L"help",    ShellCommandRunHelp   , ShellCommandGetManFileNameLevel3, 3, L"", TRUE , gShellLevel3HiiHandle, STRING_TOKEN(STR_GET_HELP_HELP));\r
 \r
+  ShellCommandRegisterAlias(L"type", L"cat");\r
+\r
   return (EFI_SUCCESS);\r
 }\r
 \r