From e4501a71b6af985fbf61d52b953140d73839f832 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 13 Mar 2025 17:08:50 -0400 Subject: listamsb: warn if list mode options used with -U/-C/-D, including a8cat options. --- listamsb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/listamsb.c b/listamsb.c index 4fd1903..397e1fd 100644 --- a/listamsb.c +++ b/listamsb.c @@ -896,7 +896,7 @@ void parse_args(int argc, char **argv) { } if((unlock_mode + crunch + decrunch) > 1) { - os_err("only one of -C, -D, -U may be used"); + os_err("only one of -C, -D, -L, -U may be used"); } if(keep_rems && !decrunch) { @@ -904,8 +904,8 @@ void parse_args(int argc, char **argv) { } if(unlock_mode || crunch || decrunch) { - if(!initial_eol || check_only || raw_output || ropt) { - warn("-a, -c, -n, -r options ignored with -U, -C, or -D"); + if(!initial_eol || check_only || raw_output || ropt || a8catopt) { + warn("-[acimnrstu] options ignored with -U, -C, or -D"); } } -- cgit v1.2.3