fix: add log::debug macro and remove unused imports
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
use crate::compression::CompressionType;
|
||||
use crate::modes::common::{format_size, ColumnType};
|
||||
use crate::modes::common::format_size;
|
||||
use std::path::PathBuf;
|
||||
use std::str::FromStr;
|
||||
|
||||
use anyhow::{anyhow, Error, Result};
|
||||
use anyhow::{anyhow, Result};
|
||||
use clap::Command;
|
||||
use nix::fcntl::FdFlag;
|
||||
use nix::unistd::{close, pipe};
|
||||
@@ -22,7 +22,7 @@ pub fn mode_diff(
|
||||
) -> Result<()> {
|
||||
if !tags.is_empty() {
|
||||
cmd.error(
|
||||
ErrorKind::InvalidValue,
|
||||
clap::error::ErrorKind::InvalidValue,
|
||||
"Tags are not supported with --diff. Please provide exactly two IDs.",
|
||||
)
|
||||
.exit();
|
||||
|
||||
Reference in New Issue
Block a user