Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
georglauterbach committed Nov 8, 2023
1 parent 99d966a commit c2c8d4d
Show file tree
Hide file tree
Showing 17 changed files with 343 additions and 301 deletions.
1 change: 1 addition & 0 deletions code/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ clap = { version = "4.4.6", features = ["derive"] }
clap-verbosity-flag = "2.0.1"
colored = "2.0.4"
log = "0.4.20"
regex = "1.10.2"
toml = "0.8.4"
which = "5.0.0"

Expand Down
4 changes: 2 additions & 2 deletions code/src/arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub struct Arguments {
pub architecture: Architecture,
/// Specify what to do: build the kernel, run the kernel, etc.
#[command(subcommand)]
command: super::command::Command,
pub command: super::command::Command,
}

impl Arguments {
Expand All @@ -40,7 +40,7 @@ impl Arguments {
/// sub-commands.
pub fn dispatch_command(self) -> Result<(), ()> {
log::debug!("Dispatching command '{}'", self.command);
match self.command.execute(&self) {
match super::command::Command::execute(&self) {
Ok(()) => Ok(()),
Err(error) => {
log::error!(
Expand Down
Loading

0 comments on commit c2c8d4d

Please sign in to comment.