diff options
author | Tapan Shah <tapandshah@hp.com> | 2014-08-29 20:19:36 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-29 20:19:36 +0000 |
commit | 6cef9b9fc33f5cd97c1933823f333e1dd015d88b (patch) | |
tree | f4c454e7992a5f13cfccbb2314daadb46a24965c /ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c | |
parent | 7ac0f0709f198d46ebbf7c3cf99e2da379b976aa (diff) | |
download | edk2-platforms-6cef9b9fc33f5cd97c1933823f333e1dd015d88b.tar.xz |
Add new alias called ‘cat’ for ‘type’ command.
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
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c')
-rw-r--r-- | ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c b/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c index e784872d63..c401b71be6 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.
+ Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved. <BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -75,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);
}
|