Skip to content

Commit 148967b

Browse files
committed
Update error message
Signed-off-by: Sergey "Shnatsel" Davidoff <[email protected]>
1 parent 680cb46 commit 148967b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cargo-cyclonedx/src/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ impl Args {
184184

185185
#[derive(Error, Debug, PartialEq, Eq)]
186186
pub enum ArgsError {
187-
#[error("Invalid prefix from CLI")]
188-
CustomPrefixError(#[from] FilenameOverrideError),
187+
#[error("Invalid filename")]
188+
FilenameOverrideError(#[from] FilenameOverrideError),
189189
}
190190

191191
#[cfg(test)]

0 commit comments

Comments
 (0)