diff options
Diffstat (limited to '')
-rw-r--r-- | src/args.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs index ee9cb7e..6874e25 100644 --- a/src/args.rs +++ b/src/args.rs @@ -394,7 +394,9 @@ fn validate_is_dir_and_exists(s: &str) -> Result<PathBuf, String> { #[derive(Clone, Debug, thiserror::Error)] pub enum AuthParseError { /// Might occur if the HTTP credential string does not respect the expected format - #[error("Invalid format for credentials string. Expected username:password, username:sha256:hash or username:sha512:hash")] + #[error( + "Invalid format for credentials string. Expected username:password, username:sha256:hash or username:sha512:hash" + )] InvalidAuthFormat, /// Might occur if the hash method is neither sha256 nor sha512 |