mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 04:20:17 +03:00
[settings] Display "delete" option only for locally-originated settings
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -382,7 +382,7 @@ static void draw_instruction_row ( struct setting_widget *widget ) {
|
||||
} else {
|
||||
msg ( INSTRUCTION_ROW,
|
||||
"%sCtrl-X - exit configuration utility",
|
||||
( widget->row.setting ?
|
||||
( widget->row.originates_here ?
|
||||
"Ctrl-D - delete setting" INSTRUCTION_PAD : "" ) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user