Context
split_book.py, main().
Problem
If a user passes both --fixed N and --target-pages M, --fixed silently wins (if args.fixed is not None: ...) and --target-pages is dropped with no indication to the user that it was ignored.
Reproduction
python split_book.py book.pdf --fixed 3 --target-pages 100 --list
- Output is a plain fixed-window plan; nothing mentions that
--target-pages 100 was ignored. Confirmed.
Expected
Either reject the combination with a clear error ("--fixed and --target-pages are mutually exclusive"), or print an explicit note that --target-pages is being ignored because --fixed takes precedence.
Actual
Silent, undocumented precedence with no feedback.
Acceptance criteria
Context
split_book.py,main().Problem
If a user passes both
--fixed Nand--target-pages M,--fixedsilently wins (if args.fixed is not None: ...) and--target-pagesis dropped with no indication to the user that it was ignored.Reproduction
python split_book.py book.pdf --fixed 3 --target-pages 100 --list--target-pages 100was ignored. Confirmed.Expected
Either reject the combination with a clear error ("--fixed and --target-pages are mutually exclusive"), or print an explicit note that
--target-pagesis being ignored because--fixedtakes precedence.Actual
Silent, undocumented precedence with no feedback.
Acceptance criteria
--helptext documents the interaction.