mirror of
https://github.com/uutils/tar.git
synced 2026-06-10 16:14:35 -07:00
42a1c34222
Support traditional key syntax (for example `tar cvf archive.tar file`) by rewriting a leading key operand into clap-compatible short options before argument parsing. - detect valid keystrings in argv[1] - expand key letters into `-<opt>` arguments - consume operands for `f` and `b` in key order - forward `-b` (currently unsupported) so key/dash forms fail consistently - update usage text to document key syntax - add unit tests for key detection/expansion - add integration tests for create/extract parity and `-b` failure parity Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>