From 68b9c04241ef433f346279fbc153928bcbd360e9 Mon Sep 17 00:00:00 2001 From: Alejandro Sior Date: Tue, 21 Jun 2022 17:31:07 +0200 Subject: gptman: polish create and convert --- main.ha | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'main.ha') diff --git a/main.ha b/main.ha index 304b56c..09c5bf7 100644 --- a/main.ha +++ b/main.ha @@ -16,17 +16,17 @@ use cmd::part; export fn main() void = { if (len(os::args) < 3) { - fmt::fatalf("{}: expected disk name", os::args[0]); + fmt::fatalf("gpt: expected disk name", os::args[0]); }; const volume = os::args[1]; switch (os::args[2]) { - case "convert" => convert::convert(volume, os::args[2..]); - case "create" => create::create(volume, os::args[2..]); - case "info" => info::info(volume, os::args[2..]); - case "mkbackup" => mkbackup::mkbackup(volume, os::args[2..]); - case "part" => part::part(volume, os::args[2..]); + case "convert" => convert::convert(os::args[2..]); + case "create" => create::create(os::args[2..]); + case "info" => info::info(os::args[2..]); + case "mkbackup" => mkbackup::mkbackup(os::args[2..]); + case "part" => part::part(os::args[2..]); case => fmt::fatalf("{}: no such command {}", os::args[0], os::args[2]); }; }; -- cgit v1.2.3