Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#![doc = include_str!("../README.md")]

/// Tool to display and create C2PA manifests
/// Tool to display and create C2PA manifests.
///
/// A file path to an asset must be provided. If only the path
/// is given, this will generate a summary report of any claims
Expand Down Expand Up @@ -195,7 +195,7 @@ struct ManifestDef {
ingredient_paths: Option<Vec<PathBuf>>,
}

// convert certain errors to output messages
// Convert certain errors to output messages.
fn special_errs(e: c2pa::Error) -> anyhow::Error {
match e {
Error::JumbfNotFound => anyhow!("No claim found"),
Expand All @@ -206,7 +206,7 @@ fn special_errs(e: c2pa::Error) -> anyhow::Error {
}
}

// normalize extensions so we can compare them
// Normalize extensions so we can compare them.
fn ext_normal(path: &Path) -> String {
let ext = path
.extension()
Expand Down