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