diff --git a/src/main.rs b/src/main.rs index bcdf493..0571c20 100644 --- a/src/main.rs +++ b/src/main.rs @@ -549,7 +549,7 @@ fn mode_list(cmd: &mut Command, args: Args, ids: &mut Vec, tags: &Vec, tags: &mut Vec, conn: &mut Connection) -> Result<()> { if ids.is_empty() { - cmd.error(ErrorKind::InvalidValue, "No ID given, you must supply one ID when using --update").exit(); + cmd.error(ErrorKind::InvalidValue, "No ID given, you must supply exactly one ID when using --update").exit(); } else if ids.len() > 1 { cmd.error(ErrorKind::InvalidValue, "More than one ID given, you must supply exactly one ID or atleast one tag when using --update").exit(); }