fix: cleanup code

This commit is contained in:
Didier Slof 2023-07-17 11:50:51 +02:00
parent 12f39507e1
commit 6fd8d5e45e
Signed by: didier
GPG key ID: 01E71F18AA4398E5
2 changed files with 7 additions and 7 deletions

View file

@ -38,7 +38,7 @@ impl Command {
match self {
Command::Install {
build,
package_identifier,
package_identifier: _,
} => {
if *build {
error!("Build is not yet implemented.");
@ -46,10 +46,10 @@ impl Command {
error!("Install is not yet implemented.");
}
}
Command::Remove { package_identifier } => {
Command::Remove { package_identifier: _ } => {
error!("Remove is not yet implemented.");
}
Command::List { installed } => {
Command::List { installed: _ } => {
error!("List is not yet implemented.");
}
Command::Update => {

View file

@ -1,9 +1,9 @@
use clap::Parser;
use std::env;
use std::process::exit;
use std::str::FromStr;
use crate::commands::{Cli, Command};
use crate::commands::{Cli};
use log::{info, SetLoggerError};
mod commands;