Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cmd:choose [2012/04/28 22:33]
mcb30
cmd:choose [2012/04/28 22:36]
mcb30
Line 3: Line 3:
 ===== Synopsis ===== ===== Synopsis =====
  
-    choose [--menu <​menu>​] [--default <​label>​] [--timeout <​timeout>​] [--keep] <​setting>​+    choose [--menu <​menu>​] [--default <​label>​] [--timeout <​timeout>​] 
 +           [--keep] <​setting>​
  
 ===== Examples ===== ===== Examples =====
Line 28: Line 29:
 ===== Description ===== ===== Description =====
  
-Choose an item from a menu and store the result in the specified [[:​settings|setting]],​ defaulting to the specified item after the specified timeout (in milliseconds). +Choose an item from a menu and store the result in the specified [[:​settings|setting]],​ defaulting to the specified item after the specified timeout (in milliseconds). ​ If no timeout is explicitly specified, or if a zero timeout is specified, then iPXE will wait indefinitely.
- +
-If no timeout is explicitly specified, or if a zero timeout is specified, then iPXE will wait indefinitely.  If no default item is explicitly specified, then the menu's pre-existing default item (if any) will be used.  If no menu is specified, the default (unnamed) menu will be used.+
  
 {{ :​screenshots:​menu.png?​360x200 |A sample menu}} {{ :​screenshots:​menu.png?​360x200 |A sample menu}}
  
-The menu will be automatically deleted unless the ''​%%--keep%%''​ option is specified.+If no default item is explicitly specified, then the menu's pre-existing default item (if any) will be used.  If no menu is specified, the default (unnamed) menu will be used.  ​The menu will be automatically deleted unless the ''​%%--keep%%''​ option is specified.
  
 ===== Command status ===== ===== Command status =====
cmd/choose.txt · Last modified: 2014/01/23 02:37 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.