1 | // /**
|
---|
2 | //
|
---|
3 | // Copyright (c) 2013 - 2014, Hewlett-Packard Development Company, L.P.<BR>
|
---|
4 | // Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved. <BR>
|
---|
5 | // This program and the accompanying materials
|
---|
6 | // are licensed and made available under the terms and conditions of the BSD License
|
---|
7 | // which accompanies this distribution. The full text of the license may be found at
|
---|
8 | // http://opensource.org/licenses/bsd-license.php
|
---|
9 | //
|
---|
10 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
11 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
12 | //
|
---|
13 | // Module Name:
|
---|
14 | //
|
---|
15 | // UefiShellLevel3CommandsLib.uni
|
---|
16 | //
|
---|
17 | // Abstract:
|
---|
18 | //
|
---|
19 | // String definitions for UEFI Shell 2.0 level 3 commands
|
---|
20 | //
|
---|
21 | //
|
---|
22 | // **/
|
---|
23 |
|
---|
24 | /=#
|
---|
25 |
|
---|
26 | #langdef en-US "english"
|
---|
27 |
|
---|
28 | #string STR_GEN_TOO_MANY #language en-US "%EError. %NToo many arguments specified.\r\n"
|
---|
29 | #string STR_GEN_TOO_FEW #language en-US "%EError. %NToo few arguments specified.\r\n"
|
---|
30 | #string STR_GEN_PARAM_INV #language en-US "%EError. %NIncorrect parameter.\r\n"
|
---|
31 | #string STR_GEN_PROBLEM #language en-US "%EError. %NThe argument '%B%s%N' is incorrect.\r\n"
|
---|
32 | #string STR_GEN_NO_VALUE #language en-US "%EError. %NThe argument '%B%s%N' requires a value.\r\n"
|
---|
33 | #string STR_GEN_ERR_AD #language en-US "%EError. %NAccess denied.\r\n"
|
---|
34 | #string STR_GEN_ERR_UK #language en-US "%EError: %r\r\n"
|
---|
35 | #string STR_GEN_PARAM_CON #language en-US "%EError. %NParameters conflict\r\n"
|
---|
36 | #string STR_GEN_FILE_OPEN_FAIL #language en-US "%EError. %NThe file '%B%s%N' did not open.\r\n"
|
---|
37 | #string STR_GEN_FILE_AD #language en-US "%EError. %NAccess denied to file '%B%s%N'.\r\n"
|
---|
38 | #string STR_GEN_CRLF #language en-US "\r\n"
|
---|
39 | #string STR_GEN_NO_CWD #language en-US "No current directory is specified.\r\n"
|
---|
40 | #string STR_GEN_NO_FILES #language en-US "No matching files were found.\r\n"
|
---|
41 | #string STR_GEN_DIR_NF #language en-US "Directory '%B%s%N' was not found.\r\n"
|
---|
42 | #string STR_GEN_FILE_NF #language en-US "File '%B%s%N' was not found.\r\n"
|
---|
43 | #string STR_GEN_FILE_NO_OPEN #language en-US "%EError. %N The file '%B%s%N' wouldn't open: %r.\r\n"
|
---|
44 | #string STR_GEN_IS_DIR #language en-US "'%B%s%N' is a directory.\r\n"
|
---|
45 | #string STR_GEN_SCRIPT_ONLY #language en-US "%EError. %N This command is not allowed outside of scripts.\r\n"
|
---|
46 |
|
---|
47 | #string STR_TYP_ERROR #language en-US "Type operation was not successful on '%B%s%N'. %EError. %N%r\r\n."
|
---|
48 |
|
---|
49 | #string STR_TOUCH_ERROR #language en-US "Touch operation was not successful on '%B%s%N'. %EError. %N%r\r\n."
|
---|
50 |
|
---|
51 | #string STR_VER_OUTPUT_SHELL #language en-US "UEFI %s Shell v%d.%d\r\n"
|
---|
52 | #string STR_VER_OUTPUT_SIMPLE #language en-US "%d.%d\r\n"
|
---|
53 | #string STR_VER_OUTPUT_UEFI #language en-US "UEFI v%d.%02d (%s, 0x%08x)\r\n"
|
---|
54 | #string STR_VER_OUTPUT_SUPPLIER #language en-US "%s\r\n"
|
---|
55 |
|
---|
56 | #string STR_ECHO_ON #language en-US "Echo is on.\r\n"
|
---|
57 | #string STR_ECHO_OFF #language en-US "Echo is off.\r\n"
|
---|
58 |
|
---|
59 | #string STR_PAUSE_PROMPT #language en-US "Enter 'q' to quit, any other key to continue:\r\n"
|
---|
60 |
|
---|
61 | #string STR_HELP_NF #language en-US "No help could be found for command '%B%s%N'.\r\n"
|
---|
62 | #string STR_HELP_INV #language en-US "The help data for command '%B%s%N' was incorrect format.\r\n"
|
---|
63 | #string STR_HELP_SC_HEADER #language en-US "Character Description\r\n"
|
---|
64 | "--------- ---------------------------------------------- \r\n"
|
---|
65 | #string STR_HELP_SC_DATA #language en-US "<newline> Ends a command line.\r\n"
|
---|
66 | "<space> Ends an argument, if it is not in a quotation.\r\n"
|
---|
67 | "# Starts a comment.\r\n"
|
---|
68 | "> Used for output redirection.\r\n"
|
---|
69 | "< Used for input redirection.\r\n"
|
---|
70 | "| Used for pipe command support.\r\n"
|
---|
71 | "% Used to delimit a variable or an argument.\r\n"
|
---|
72 | "\" Used to delimit a quotation.\r\n"
|
---|
73 | "^ Prevents the next character from being\r\n"
|
---|
74 | " interpreted as having special meaning.\r\n"
|
---|
75 | " Can be used inside quoted strings.\r\n"
|
---|
76 | "*, ?, [, ] Wildcards to specify multiple similar file names.\r\n"
|
---|
77 | #string STR_HELP_COMMAND #language en-US "%H%-14s%N- %s\r\n"
|
---|
78 | #string STR_HELP_FOOTER #language en-US "%N\r\nHelp usage:help [%Hcmd%N|%Hpattern%N|%Hspecial%N] [%H-usage%N] [%H-verbose%N] [%H-section name%N][%H-b%N]\r\n"
|
---|
79 |
|
---|
80 | #string STR_HELP_PAGE_COMMAND #language en-US "%N%s\r\n"
|
---|
81 |
|
---|
82 | #string STR_ALIAS_OUTPUT #language en-US "%1c %10s:%s\r\n"
|
---|
83 |
|
---|
84 | #string STR_GET_MTC_OUTPUT #language en-US "%016Lx\r\n"
|
---|
85 |
|
---|
86 | #string STR_GET_HELP_HELP #language en-US ""
|
---|
87 | ".TH help 0 "Displays help information from the UEFI Shell."\r\n"
|
---|
88 | ".SH NAME\r\n"
|
---|
89 | "Displays the UEFI Shell command list or verbose command help.\r\n"
|
---|
90 | ".SH SYNOPSIS\r\n"
|
---|
91 | " \r\n"
|
---|
92 | "HELP [cmd | pattern | special] [-usage] [-verbose] [-section sectionname][-b]\r\n"
|
---|
93 | ".SH OPTIONS\r\n"
|
---|
94 | " \r\n"
|
---|
95 | " -usage - Displays the usage information for the command. The same as\r\n"
|
---|
96 | " specifying "-section NAME" and "-section SYNOPSIS" \r\n"
|
---|
97 | " -section - Displays the specified section of the help information.\r\n"
|
---|
98 | " -b - Displays one page on screen and allows user to continue\r\n"
|
---|
99 | " to next page\r\n"
|
---|
100 | " cmd - Specifies a command to display help about.\r\n"
|
---|
101 | " pattern - Specifies a pattern which describes the commands to be displayed.\r\n"
|
---|
102 | " special - Displays a list of the special characters used in the shell\r\n"
|
---|
103 | " command line.\r\n"
|
---|
104 | " sectionname - Specifies a section name. Supported options are:\r\n"
|
---|
105 | " - NAME\r\n"
|
---|
106 | " - SYNOPSIS\r\n"
|
---|
107 | " - OPTIONS\r\n"
|
---|
108 | " - DESCRIPTION\r\n"
|
---|
109 | " - EXAMPLES\r\n"
|
---|
110 | " - RETURNVALUES\r\n"
|
---|
111 | ".SH DESCRIPTION\r\n"
|
---|
112 | " \r\n"
|
---|
113 | "NOTES:\r\n"
|
---|
114 | " 1. The HELP command displays information about one or more shell commands.\r\n"
|
---|
115 | " 2. If no other options are specified, each command will be displayed along\r\n"
|
---|
116 | " with a brief description of its function.\r\n"
|
---|
117 | " 3. If -verbose is specified, then display all help information for the\r\n"
|
---|
118 | " specified commands.\r\n"
|
---|
119 | " 4. If -section is specified, only the help section specified will be\r\n"
|
---|
120 | " displayed.\r\n"
|
---|
121 | " 5. If -usage is specified, then the command, a brief description\r\n"
|
---|
122 | " and the usage will be displayed.\r\n"
|
---|
123 | " 6. The help text is gathered from UCS-2 text files found in the directory\r\n"
|
---|
124 | " where the shell or shell command executable was located. The files have\r\n"
|
---|
125 | " the name commandname.\r\n"
|
---|
126 | ".SH EXAMPLES\r\n"
|
---|
127 | " \r\n"
|
---|
128 | "EXAMPLES:\r\n"
|
---|
129 | " * To display the list of commands in the UEFI Shell and break after one\r\n"
|
---|
130 | " screen:\r\n"
|
---|
131 | " Shell> help -b\r\n"
|
---|
132 | " \r\n"
|
---|
133 | " * To display help information of a Shell command - ls:\r\n"
|
---|
134 | " Shell> help ls\r\n"
|
---|
135 | " Shell> -? ls\r\n"
|
---|
136 | " Shell> ls -?\r\n"
|
---|
137 | " \r\n"
|
---|
138 | " * To display the list of commands that start with character 'p':\r\n"
|
---|
139 | " Shell> help p*\r\n"
|
---|
140 | ".SH RETURNVALUES\r\n"
|
---|
141 | " \r\n"
|
---|
142 | "RETURN VALUES:\r\n"
|
---|
143 | " 0 The help was displayed\r\n"
|
---|
144 | " 1 No command help was displayed\r\n"
|
---|
145 |
|
---|
146 | #string STR_GET_HELP_ALIAS #language en-US ""
|
---|
147 | ".TH alias 0 "Handles aliases in the Shell."\r\n"
|
---|
148 | ".SH NAME\r\n"
|
---|
149 | "Displays, creates, or deletes UEFI Shell aliases.\r\n"
|
---|
150 | ".SH SYNOPSIS\r\n"
|
---|
151 | " \r\n"
|
---|
152 | "ALIAS [-d|-v] [alias-name] [command-name]\r\n"
|
---|
153 | ".SH OPTIONS\r\n"
|
---|
154 | " \r\n"
|
---|
155 | " -d - Deletes an alias. Command-name must not be specified.\r\n"
|
---|
156 | " -v - Makes the alias volatile.\r\n"
|
---|
157 | " alias-name - Specifies an alias name.\r\n"
|
---|
158 | " command-name - Specifies an original command's name or path.\r\n"
|
---|
159 | ".SH DESCRIPTION\r\n"
|
---|
160 | " \r\n"
|
---|
161 | "NOTES:\r\n"
|
---|
162 | " 1. This command displays, creates, or deletes aliases in the UEFI Shell\r\n"
|
---|
163 | " environment.\r\n"
|
---|
164 | " 2. An alias provides a new name for an existing UEFI Shell\r\n"
|
---|
165 | " command or UEFI application. Once the alias is created, it can be used\r\n"
|
---|
166 | " to run the command or launch the UEFI application.\r\n"
|
---|
167 | " 3. There are some aliases that are predefined in the UEFI Shell environment.\r\n"
|
---|
168 | " These aliases provide the MS-DOS and UNIX equivalent names for the file\r\n"
|
---|
169 | " manipulation commands.\r\n"
|
---|
170 | " 4. Aliases will be retained even after exiting the shell unless the -v option\r\n"
|
---|
171 | " is specified. If -v is specified then the alias will not be valid after\r\n"
|
---|
172 | " leaving the shell.\r\n"
|
---|
173 | ".SH EXAMPLES\r\n"
|
---|
174 | " \r\n"
|
---|
175 | "EXAMPLES:\r\n"
|
---|
176 | " * To display all aliases in the UEFI Shell environment:\r\n"
|
---|
177 | " Shell> alias\r\n"
|
---|
178 | " \r\n"
|
---|
179 | " * To create an alias in the UEFI Shell environment:\r\n"
|
---|
180 | " Shell> alias shutdown "reset -s" \r\n"
|
---|
181 | " \r\n"
|
---|
182 | " * To delete an alias in the UEFI Shell environment:\r\n"
|
---|
183 | " Shell> alias -d shutdown\r\n"
|
---|
184 | " \r\n"
|
---|
185 | " * To add a volatile alias in the current UEFI environment, which has a star *\r\n"
|
---|
186 | " at the line head. This volatile alias will disappear at next boot.\r\n"
|
---|
187 | " Shell> alias -v fs0 floppy\r\n"
|
---|
188 | ".SH RETURNVALUES\r\n"
|
---|
189 | " \r\n"
|
---|
190 | "RETURN VALUES:\r\n"
|
---|
191 | " SHELL_SUCCESS The action was completed as requested.\r\n"
|
---|
192 | " SHELL_INVALID_PARAMETER One of the passed-in parameters was incorrectly\r\n"
|
---|
193 | " formatted or its value was out of bounds.\r\n"
|
---|
194 | " SHELL_OUT_OF_RESOURCES A request to set a variable in a non-volatile\r\n"
|
---|
195 | " fashion could not be completed. The resulting\r\n"
|
---|
196 | " non-volatile request has been converted into\r\n"
|
---|
197 | " a volatile request.\r\n"
|
---|
198 | " SHELL_SECURITY_VIOLATION This function was not performed due to a security\r\n"
|
---|
199 | " violation.\r\n"
|
---|
200 |
|
---|
201 | #string STR_GET_HELP_CLS #language en-US ""
|
---|
202 | ".TH cls 0 "clear screen"\r\n"
|
---|
203 | ".SH NAME\r\n"
|
---|
204 | "Clears standard output and optionally changes background color.\r\n"
|
---|
205 | ".SH SYNOPSIS\r\n"
|
---|
206 | " \r\n"
|
---|
207 | "CLS [color]\r\n"
|
---|
208 | ".SH OPTIONS\r\n"
|
---|
209 | " \r\n"
|
---|
210 | " color - Sets a new background color:\r\n"
|
---|
211 | " 0 - Black\r\n"
|
---|
212 | " 1 - Blue\r\n"
|
---|
213 | " 2 - Green\r\n"
|
---|
214 | " 3 - Cyan\r\n"
|
---|
215 | " 4 - Red\r\n"
|
---|
216 | " 5 - Magenta\r\n"
|
---|
217 | " 6 - Yellow\r\n"
|
---|
218 | " 7 - Light gray\r\n"
|
---|
219 | ".SH DESCRIPTION\r\n"
|
---|
220 | " \r\n"
|
---|
221 | "NOTES:\r\n"
|
---|
222 | " 1. This command clears the standard output device with an optional\r\n"
|
---|
223 | " background color attribute. If a color is not specified, then the\r\n"
|
---|
224 | " background color does not change.\r\n"
|
---|
225 | ".SH EXAMPLES\r\n"
|
---|
226 | " \r\n"
|
---|
227 | "EXAMPLES:\r\n"
|
---|
228 | " * To clear standard output without changing the background color:\r\n"
|
---|
229 | " fs0:\> cls\r\n"
|
---|
230 | " \r\n"
|
---|
231 | " * To clear standard output and change the background color to cyan:\r\n"
|
---|
232 | " fs0:\> cls 3\r\n"
|
---|
233 | " \r\n"
|
---|
234 | " * To clear standard output and change the background to the default color:\r\n"
|
---|
235 | " fs0:\> cls 0\r\n"
|
---|
236 | ".SH RETURNVALUES\r\n"
|
---|
237 | " \r\n"
|
---|
238 | "RETURN VALUES:\r\n"
|
---|
239 | " SHELL_SUCCESS The action was completed as requested.\r\n"
|
---|
240 | " SHELL_INVALID_PARAMETER One of the passed-in parameters was incorrectly\r\n"
|
---|
241 | " formatted or its value was out of bounds.\r\n"
|
---|
242 | " SHELL_SECURITY_VIOLATION This function was not performed due to a security\r\n"
|
---|
243 | " violation.\r\n"
|
---|
244 | " SHELL_NOT_FOUND The requested file was not found.\r\n"
|
---|
245 |
|
---|
246 | #string STR_GET_HELP_ECHO #language en-US ""
|
---|
247 | ".TH echo 0 "display text or control text output"\r\n"
|
---|
248 | ".SH NAME\r\n"
|
---|
249 | "Controls script file command echoing or displays a message.\r\n"
|
---|
250 | ".SH SYNOPSIS\r\n"
|
---|
251 | " \r\n"
|
---|
252 | "ECHO [-on|-off]\r\n"
|
---|
253 | "ECHO [message]\r\n"
|
---|
254 | ".SH OPTIONS\r\n"
|
---|
255 | " \r\n"
|
---|
256 | " -on - Enables display when reading commands from script files.\r\n"
|
---|
257 | " -off - Disables display when reading commands from script files.\r\n"
|
---|
258 | " message - Specifies a message to display.\r\n"
|
---|
259 | ".SH DESCRIPTION\r\n"
|
---|
260 | " \r\n"
|
---|
261 | "NOTES:\r\n"
|
---|
262 | " 1. The first form of this command controls whether script commands are\r\n"
|
---|
263 | " displayed as they are read from the script file. If no argument is given,\r\n"
|
---|
264 | " the current "on" or "off" status is displayed.\r\n"
|
---|
265 | " 2. The second form prints the given message to the display.\r\n"
|
---|
266 | ".SH EXAMPLES\r\n"
|
---|
267 | " \r\n"
|
---|
268 | "EXAMPLES:\r\n"
|
---|
269 | " * To display a message string of 'Hello World':\r\n"
|
---|
270 | " fs0:\> echo Hello World\r\n"
|
---|
271 | " \r\n"
|
---|
272 | " * To turn command echoing on:\r\n"
|
---|
273 | " fs0:\> echo -on\r\n"
|
---|
274 | " \r\n"
|
---|
275 | " * To execute HelloWorld.nsh, and display when reading lines from the script\r\n"
|
---|
276 | " file:\r\n"
|
---|
277 | " fs0:\> HelloWorld.nsh\r\n"
|
---|
278 | " +HelloWorld.nsh> echo Hello World\r\n"
|
---|
279 | " \r\n"
|
---|
280 | " * To turn command echoing off:\r\n"
|
---|
281 | " fs0:\> echo -off\r\n"
|
---|
282 | " \r\n"
|
---|
283 | " * To display the current echo setting:\r\n"
|
---|
284 | " fs0:\> echo\r\n"
|
---|
285 | ".SH RETURNVALUES\r\n"
|
---|
286 | " \r\n"
|
---|
287 | "RETURN VALUES:\r\n"
|
---|
288 | " SHELL_SUCCESS The action was completed as requested.\r\n"
|
---|
289 | " SHELL_SECURITY_VIOLATION This function was not performed due to a security\r\n"
|
---|
290 | " violation.\r\n"
|
---|
291 |
|
---|
292 | #string STR_GET_HELP_GETMTC #language en-US ""
|
---|
293 | ".TH getmtc 0 "gets the MTC count"\r\n"
|
---|
294 | ".SH NAME\r\n"
|
---|
295 | "Gets the MTC from BootServices and displays it.\r\n"
|
---|
296 | ".SH SYNOPSIS\r\n"
|
---|
297 | " \r\n"
|
---|
298 | "GETMTC\r\n"
|
---|
299 | ".SH DESCRIPTION\r\n"
|
---|
300 | " \r\n"
|
---|
301 | "NOTES:\r\n"
|
---|
302 | " 1. This command displays the current monotonic counter value. The lower 32\r\n"
|
---|
303 | " bits increment every time this command is executed. Every time the system\r\n"
|
---|
304 | " is reset, the upper 32 bits will be incremented, and the lower 32 bits\r\n"
|
---|
305 | " will be reset to 0.\r\n"
|
---|
306 | ".SH EXAMPLES\r\n"
|
---|
307 | " \r\n"
|
---|
308 | "EXAMPLES:\r\n"
|
---|
309 | " * To display the current monotonic counter value:\r\n"
|
---|
310 | " fs0:\> getmtc\r\n"
|
---|
311 | ".SH RETURNVALUES\r\n"
|
---|
312 | " \r\n"
|
---|
313 | "RETURN VALUES:\r\n"
|
---|
314 | " SHELL_SUCCESS The action was completed as requested.\r\n"
|
---|
315 | " SHELL_DEVICE_ERROR The underlying device was not working correctly.\r\n"
|
---|
316 | " SHELL_SECURITY_VIOLATION This function was not performed due to a security\r\n"
|
---|
317 | " violation.\r\n"
|
---|
318 |
|
---|
319 | #string STR_GET_HELP_PAUSE #language en-US ""
|
---|
320 | ".TH pause 0 "pauses scripts"\r\n"
|
---|
321 | ".SH NAME\r\n"
|
---|
322 | "Pauses a script and waits for an operator to press a key.\r\n"
|
---|
323 | ".SH SYNOPSIS\r\n"
|
---|
324 | " \r\n"
|
---|
325 | "PAUSE [-q]\r\n"
|
---|
326 | ".SH OPTIONS\r\n"
|
---|
327 | " \r\n"
|
---|
328 | " -q - Does not display a test output prompt.\r\n"
|
---|
329 | ".SH DESCRIPTION\r\n"
|
---|
330 | " \r\n"
|
---|
331 | "NOTES:\r\n"
|
---|
332 | " 1. The PAUSE command prints a message to the display, then suspends script\r\n"
|
---|
333 | " file execution, and waits for keyboard input. Pressing any key resumes\r\n"
|
---|
334 | " execution, except for q or Q. If either q or Q is pressed, script\r\n"
|
---|
335 | " processing terminates; otherwise, execution continues with the next line\r\n"
|
---|
336 | " after the pause command.\r\n"
|
---|
337 | " 2. The PAUSE command is available only in scripts. Switch -q can hide the\r\n"
|
---|
338 | " message and it's optional.\r\n"
|
---|
339 | ".SH EXAMPLES\r\n"
|
---|
340 | " \r\n"
|
---|
341 | "EXAMPLES:\r\n"
|
---|
342 | " * Following script is a sample of 'pause' command:\r\n"
|
---|
343 | " fs0:\> type pause.nsh\r\n"
|
---|
344 | " #\r\n"
|
---|
345 | " # Example script for 'pause' command\r\n"
|
---|
346 | " #\r\n"
|
---|
347 | " echo pause.nsh begin..\r\n"
|
---|
348 | " date\r\n"
|
---|
349 | " time\r\n"
|
---|
350 | " pause\r\n"
|
---|
351 | " echo pause.nsh done.\r\n"
|
---|
352 | " \r\n"
|
---|
353 | " * To execute the script with echo on:\r\n"
|
---|
354 | " fs0:\> pause.nsh\r\n"
|
---|
355 | " +pause.nsh> echo pause.nsh begin..\r\n"
|
---|
356 | " pause.nsh begin..\r\n"
|
---|
357 | " +pause.nsh> date\r\n"
|
---|
358 | " 06/19/2001\r\n"
|
---|
359 | " +pause.nsh> time\r\n"
|
---|
360 | " 00:51:45\r\n"
|
---|
361 | " +pause.nsh> pause\r\n"
|
---|
362 | " Enter 'q' to quit, or any other key to continue:\r\n"
|
---|
363 | " +pause.nsh> echo pause.nsh done.\r\n"
|
---|
364 | " pause.nsh done.\r\n"
|
---|
365 | " \r\n"
|
---|
366 | " * To execute the script with echo off:\r\n"
|
---|
367 | " fs0:\> echo -off\r\n"
|
---|
368 | " fs0:\> pause.nsh\r\n"
|
---|
369 | " pause.nsh begin..\r\n"
|
---|
370 | " 06/19/2001\r\n"
|
---|
371 | " 00:52:50\r\n"
|
---|
372 | " Enter 'q' to quit, or any other key to continue: q\r\n"
|
---|
373 | " fs0:\>\r\n"
|
---|
374 |
|
---|
375 | #string STR_GET_HELP_TOUCH #language en-US ""
|
---|
376 | ".TH touch 0 "Touch a file to update a directory"\r\n"
|
---|
377 | ".SH NAME\r\n"
|
---|
378 | "Updates the filename timestamp with the current system date and time.\r\n"
|
---|
379 | ".SH SYNOPSIS\r\n"
|
---|
380 | " \r\n"
|
---|
381 | "TOUCH [-r] file [file ...]\r\n"
|
---|
382 | ".SH OPTIONS\r\n"
|
---|
383 | " \r\n"
|
---|
384 | " -r - Sets the update as recurse into subdirectories.\r\n"
|
---|
385 | " file - Specifies the name or pattern of the file or directory. There can be multiple \r\n"
|
---|
386 | " files on the command-line.\r\n"
|
---|
387 | ".SH DESCRIPTION\r\n"
|
---|
388 | " \r\n"
|
---|
389 | "NOTES:\r\n"
|
---|
390 | " 1. This command updates to the current time and date the time and date on\r\n"
|
---|
391 | " the file that is specified by the file parameter.\r\n"
|
---|
392 | " 2. If multiple files are specified on the command line, it will continue\r\n"
|
---|
393 | " processing. It will touch the files one by one and errors will be\r\n"
|
---|
394 | " ignored.\r\n"
|
---|
395 | " 3. TOUCH cannot change the time and date of read-only files and directories.\r\n"
|
---|
396 | ".SH EXAMPLES\r\n"
|
---|
397 | " \r\n"
|
---|
398 | "EXAMPLES:\r\n"
|
---|
399 | " * To update the timestamp of a specific file:\r\n"
|
---|
400 | " fs0:\> touch for.nsh\r\n"
|
---|
401 | " \r\n"
|
---|
402 | " * To touch a directory recursively:\r\n"
|
---|
403 | " fs0:\> touch -r efi1.1\r\n"
|
---|
404 | ".SH RETURNVALUES\r\n"
|
---|
405 | " \r\n"
|
---|
406 | "RETURN VALUES:\r\n"
|
---|
407 | " SHELL_SUCCESS The action was completed as requested.\r\n"
|
---|
408 | " SHELL_NOT_FOUND The target file or set of files were not found.\r\n"
|
---|
409 | " SHELL_SECURITY_VIOLATION This function was not performed due to a security\r\n"
|
---|
410 | " violation.\r\n"
|
---|
411 | " SHELL_WRITE_PROTECTED The media was write-protected or the file had a\r\n"
|
---|
412 | " read-only attribute associated with it.\r\n"
|
---|
413 |
|
---|
414 | #string STR_GET_HELP_TYPE #language en-US ""
|
---|
415 | ".TH type 0 "print a file to StdOut"\r\n"
|
---|
416 | ".SH NAME\r\n"
|
---|
417 | "Sends the contents of a file to the standard output device.\r\n"
|
---|
418 | ".SH SYNOPSIS\r\n"
|
---|
419 | " \r\n"
|
---|
420 | "TYPE [-a|-u] file [file...]\r\n"
|
---|
421 | ".SH OPTIONS\r\n"
|
---|
422 | " \r\n"
|
---|
423 | " -a - Displays the file as if it is encoded as 8-bit ASCII\r\n"
|
---|
424 | " -u - Displays the file as if it were encoded as UCS-2 Unicode.\r\n"
|
---|
425 | " file - Specifies the name of the file to display.\r\n"
|
---|
426 | ".SH DESCRIPTION\r\n"
|
---|
427 | " \r\n"
|
---|
428 | "NOTES:\r\n"
|
---|
429 | " 1. This command sends the contents of a file to the standard output device.\r\n"
|
---|
430 | " If no options are used, then the command attempts to automatically detect\r\n"
|
---|
431 | " the file type. If it fails, then UCS-2 is presumed.\r\n"
|
---|
432 | " 2. If the -a option is specified, the file is sent to the standard output\r\n"
|
---|
433 | " device as a stream of ASCII characters.\r\n"
|
---|
434 | " 3. If the -u option is specified, the file is sent to the standard output\r\n"
|
---|
435 | " device as a stream of Unicode (UCS-2) characters.\r\n"
|
---|
436 | ".SH EXAMPLES\r\n"
|
---|
437 | " \r\n"
|
---|
438 | "EXAMPLES:\r\n"
|
---|
439 | " * To display a file in UCS-2 format:\r\n"
|
---|
440 | " fs0:\> type -u pause.nsh\r\n"
|
---|
441 | " \r\n"
|
---|
442 | " * To display a file in ASCII format:\r\n"
|
---|
443 | " fs0:\> type -a pause.nsh\r\n"
|
---|
444 | " \r\n"
|
---|
445 | " * To display multiple files:\r\n"
|
---|
446 | " fs0:\> type test.*\r\n"
|
---|
447 | ".SH RETURNVALUES\r\n"
|
---|
448 | " \r\n"
|
---|
449 | "RETURN VALUES:\r\n"
|
---|
450 | " SHELL_SUCCESS The action was completed as requested.\r\n"
|
---|
451 | " SHELL_INVALID_PARAMETER One of the passed in parameters was incorrectly\r\n"
|
---|
452 | " formatted or its value was out of bounds.\r\n"
|
---|
453 | " SHELL_SECURITY_VIOLATION This function was not performed due to a security\r\n"
|
---|
454 | " violation.\r\n"
|
---|
455 | " SHELL_NOT_FOUND The target file or set of files were not found.\r\n"
|
---|
456 |
|
---|
457 | #string STR_GET_HELP_VER #language en-US ""
|
---|
458 | ".TH ver 0 "prints out version info"\r\n"
|
---|
459 | ".SH NAME\r\n"
|
---|
460 | "Displays UEFI Firmware version information.\r\n"
|
---|
461 | ".SH SYNOPSIS\r\n"
|
---|
462 | " \r\n"
|
---|
463 | "VER [-s|-terse]\r\n"
|
---|
464 | ".SH OPTIONS\r\n"
|
---|
465 | " \r\n"
|
---|
466 | " -s - Displays only the UEFI Shell version.\r\n"
|
---|
467 | " -terse - Displays only the first part of the data.\r\n"
|
---|
468 | ".SH DESCRIPTION\r\n"
|
---|
469 | " \r\n"
|
---|
470 | "NOTES:\r\n"
|
---|
471 | " 1. This command displays the version information for this UEFI Firmware, or\r\n"
|
---|
472 | " the version information for the UEFI Shell itself. The information is\r\n"
|
---|
473 | " retrieved through the UEFI System Table or the Shell image.\r\n"
|
---|
474 | " \r\n"
|
---|
475 | " 2. Standard format for ver output as shown below with a sample:\r\n"
|
---|
476 | " UEFI <support-level> Shell v<uefi-shell-version>\r\n"
|
---|
477 | " shell-supplier-specific-data\r\n"
|
---|
478 | " UEFI v<uefi-firmware-version> (<firmware vendor name>, 0x<firmware vendor\r\n"
|
---|
479 | " version as 32-bit hex value> <optional additional vendor version>)\r\n"
|
---|
480 | " #\r\n"
|
---|
481 | " # Sample \r\n"
|
---|
482 | " #\r\n"
|
---|
483 | " UEFI Basic Shell v2.0\r\n"
|
---|
484 | " Copyright 2008 by Intel(R) Corporation.\r\n"
|
---|
485 | " UEFI v2.31 (Intel(R) Corporation., 0x00010100)\r\n"
|
---|
486 | " \r\n"
|
---|
487 | " 3. UEFI version tag information:\r\n"
|
---|
488 | " <support-level>\r\n"
|
---|
489 | " 0 = Minimal\r\n"
|
---|
490 | " 1 = Scripting\r\n"
|
---|
491 | " 2 = Basic\r\n"
|
---|
492 | " 3 = Interactive\r\n"
|
---|
493 | " <uefi-shell-version>\r\n"
|
---|
494 | " Comes from the Shell specification upon which the Shell\r\n"
|
---|
495 | " implementation is based.\r\n"
|
---|
496 | " <shell-supplier-specific-data>\r\n"
|
---|
497 | " Build, copyright, etc.\r\n"
|
---|
498 | " <uefi-firmware-version>\r\n"
|
---|
499 | " Comes from the UEFI specification upon which the firmware\r\n"
|
---|
500 | " implementation is based\r\n"
|
---|
501 | " <firmware vendor name>\r\n"
|
---|
502 | " Indicates Vendor Name\r\n"
|
---|
503 | " <firmware vendor version>\r\n"
|
---|
504 | " Indicates Vendor's firmware version\r\n"
|
---|
505 | ".SH EXAMPLES\r\n"
|
---|
506 | " \r\n"
|
---|
507 | "EXAMPLES:\r\n"
|
---|
508 | " * To display UEFI Firmware version information:\r\n"
|
---|
509 | " fs0:\> ver\r\n"
|
---|
510 | " \r\n"
|
---|
511 | " * To display UEFI Shell version information only:\r\n"
|
---|
512 | " Shell> ver -s\r\n"
|
---|
513 | ".SH RETURNVALUES\r\n"
|
---|
514 | " \r\n"
|
---|
515 | "RETURN VALUES:\r\n"
|
---|
516 | " SHELL_SUCCESS The action was completed as requested.\r\n"
|
---|
517 |
|
---|