diff options
Diffstat (limited to 'nitrocli/src/args.rs')
-rw-r--r-- | nitrocli/src/args.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nitrocli/src/args.rs b/nitrocli/src/args.rs index 246490e..f4e0758 100644 --- a/nitrocli/src/args.rs +++ b/nitrocli/src/args.rs @@ -539,8 +539,8 @@ pub fn otp_set(ctx: &mut ExecCtx<'_>, args: Vec<String>) -> Result<()> { if ascii { if secret_format.is_some() { - return Err(Error::Error( - "The --format and the --ascii option cannot be used at the same time".to_string(), + return Err(Error::from( + "The --format and the --ascii option cannot be used at the same time", )); } |