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:item [2012/03/29 13:20]
mcb30
cmd:item [2012/04/28 22:40]
mcb30
Line 66: Line 66:
  
 ===== Notes ===== ===== Notes =====
 +
 +The display text will be truncated if necessary to fit within the available width.
  
 Shortcut keys are not automatically displayed. ​ You may wish to include an indication of the shortcut key within the display text.  For example: Shortcut keys are not automatically displayed. ​ You may wish to include an indication of the shortcut key within the display text.  For example:
  
-    item --key f   Boot (F)edora +    item --key f   fedora ​  Boot (F)edora 
-    item --key x   Boot Windows (X)P+    item --key x   winxp    ​Boot Windows (X)P
  
 If you want your menu separator text to start with dashes, then you must use ''​%%--%%''​ to prevent iPXE from attempting to interpret your separator text as an option. ​ For example: If you want your menu separator text to start with dashes, then you must use ''​%%--%%''​ to prevent iPXE from attempting to interpret your separator text as an option. ​ For example:
  
     item --gap -- ---------------- Advanced configuration ----------------     item --gap -- ---------------- Advanced configuration ----------------
 +
 +You can specify the menu's default item either by using the ''​--default''​ option when creating the menu item with the ''​item''​ command, or by using the ''​--default <​label>''​ option when displaying the menu with the ''​[[:​cmd:​choose]]''​ command.
  
cmd/item.txt · Last modified: 2012/04/28 22:41 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.