diff --git a/src/commands.rs b/src/commands.rs index 66bbd87a..cd5e9d43 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -321,13 +321,13 @@ fn get_repository(repo_opts: &AllRepositoryOptions) -> Result( diff --git a/src/commands/init.rs b/src/commands/init.rs index 0f7ddb4a..d3b2ab05 100644 --- a/src/commands/init.rs +++ b/src/commands/init.rs @@ -66,7 +66,7 @@ impl InitCmd { /// * [`RepositoryErrorKind::OpeningPasswordFileFailed`] - If opening the password file failed /// * [`RepositoryErrorKind::ReadingPasswordFromReaderFailed`] - If reading the password failed /// * [`RepositoryErrorKind::FromSplitError`] - If splitting the password command failed -/// * [`RepositoryErrorKind::PasswordCommandParsingFailed`] - If parsing the password command failed +/// * [`RepositoryErrorKind::PasswordCommandExecutionFailed`] - If executing the password command failed /// * [`RepositoryErrorKind::ReadingPasswordFromCommandFailed`] - If reading the password from the command failed /// /// # Returns @@ -76,7 +76,7 @@ impl InitCmd { /// [`RepositoryErrorKind::OpeningPasswordFileFailed`]: rustic_core::error::RepositoryErrorKind::OpeningPasswordFileFailed /// [`RepositoryErrorKind::ReadingPasswordFromReaderFailed`]: rustic_core::error::RepositoryErrorKind::ReadingPasswordFromReaderFailed /// [`RepositoryErrorKind::FromSplitError`]: rustic_core::error::RepositoryErrorKind::FromSplitError -/// [`RepositoryErrorKind::PasswordCommandParsingFailed`]: rustic_core::error::RepositoryErrorKind::PasswordCommandParsingFailed +/// [`RepositoryErrorKind::PasswordCommandExecutionFailed`]: rustic_core::error::RepositoryErrorKind::PasswordCommandExecutionFailed /// [`RepositoryErrorKind::ReadingPasswordFromCommandFailed`]: rustic_core::error::RepositoryErrorKind::ReadingPasswordFromCommandFailed pub(crate) fn init( repo: Repository,