Skip to content

Commit 8d2e177

Browse files
committed
Rename bioshw to lshw.
1 parent d11a25b commit 8d2e177

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/commands/hardware.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ use crate::{bios, println, Ctx, API};
44

55
pub static LSHW_ITEM: menu::Item<Ctx> = menu::Item {
66
item_type: menu::ItemType::Callback {
7-
function: bioshw,
7+
function: lshw,
88
parameters: &[],
99
},
10-
command: "bioshw",
10+
command: "lshw",
1111
help: Some("List all the BIOS hardware"),
1212
};
1313

14-
/// Called when the "bioshw" command is executed.
15-
fn bioshw(_menu: &menu::Menu<Ctx>, _item: &menu::Item<Ctx>, _args: &[&str], _ctx: &mut Ctx) {
14+
/// Called when the "lshw" command is executed.
15+
fn lshw(_menu: &menu::Menu<Ctx>, _item: &menu::Item<Ctx>, _args: &[&str], _ctx: &mut Ctx) {
1616
let api = API.get();
1717
let mut found = false;
1818

0 commit comments

Comments
 (0)