Skip to content

v0.9.1

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Nov 14:39
· 1 commit to main since this release
v0.9.1
01aa511

Release Notes - Version 0.9.1

Install

Homebrew (macOS or Linux)

brew install as-foss/mandible/mandible

Fedora / EPEL (COPR repository)

sudo dnf copr enable as-foss/mandible
sudo dnf install mandible

Nix

nix run github:AS-FOSS/mandible

Cargo

cargo binstall mandible
cargo install mandible

Debian and Ubuntu: the signed apt repository carries every released version for amd64 and arm64, with setup instructions.

Or download a binary below. Verify with the accompanying .sha256.


Added

  • When a tool's --help answer gives nothing and quotes the invocation that prints help (try "tc -help"), mandible runs that invocation, at most twice, if every word in it is --help, -help, -h, help, all after --help, or a command the text lists; tc, genl and rtmon show their pages.
  • A NAME := { a | b } production behind a usage form's command position (ip [ OPTIONS ] OBJECT { COMMAND | help }) lists that tool's commands, so ip, tc, bridge, devlink, rdma, dcb and vdpa show them instead of an OBJECT operand; the braced list after a flag in a production is its values (rtmon -f[amily]); a command whose --help gives nothing is asked <command> help once, when the usage form shows help there.

Changed

  • A required value written after = is drawn as written: cp -S, --suffix=SUFFIX, od -j, --skip-bytes=BYTES, rescan-scsi-bus.sh --hosts=LIST. A value written after a space is unchanged.
  • less, zstdless and pager draw --tabs=[N[,...]] and --quotes=[c[c]] with the = outside the bracket, as the tool writes them.
  • curl --http0.9, --http1.0, --tlsv1.3 and the other names with a dotted number are whole flag names, not a name plus a value, and so are node --tls-min-v1.2 and setarch --uname-2.6.
  • genl shows { ctrl etc } as the text of its OBJECT operand.
  • ip lists -force, a flag only its second usage form shows.
  • A flag row whose description follows its spelling after one space (lvmdump -h print this message, xfs_estimate -v prints more verbose messages, rescan-scsi-bus.sh -I SECS issue a ...) shows the sentence as its description instead of taking its first word as a value; ffmpeg -h long -- print more options and tar --ignore-command-error keep their text.
  • A colon after a row's spelling is no longer read as a value (ssh-copy-id -n:, rescan-scsi-bus.sh --alltargets:), --sync/nosync reads as --sync, --nosync, and the description of rescan-scsi-bus.sh no longer repeats its flag rows.
  • ucf and lcf show -d, --debug=[n], -s, --src-dir foo and --state-dir bar with their full descriptions, ucf -p destination as a second usage form, and -p, --purge as one flag; less draws --pattern=[pattern] as written.
  • java -verbose:[class|module|gc|jni] lists class, module, gc and jni as its values.
  • od, nano and autom4te show their description: two spaces after a full stop no longer read as a column gap that drops the paragraph.
  • od -t lists all seven format specifications (d[SIZE], f[SIZE] and the rest), and -j, -N, -S and -w list the whole b, KB, K, MB, M multiplier table instead of its first row.
  • java shows its five usage forms, each (to execute ...) note on its own line under its form; jinfo and jstack draw their note the same way.
  • ip link help and the pages like it: every form of a multi-form usage block belongs to its verb (including add, delete, exec, route add), wrapped form lines no longer become a command's description, and the page no longer lists the verbs' keyword placeholders as operands.
  • where NAME := text legends describe their placeholder on ip macsec and ip l2tp (:= dropped, { none | default } as values), ip l2tp del tunnel and del session are commands of del, bridge fdb show is a command of bridge fdb, a new dash word separates flags in devlink's option production, tc reads { -cf | -conf } path as one flag, and genl no longer lists help as an operand.
  • A value written only as alternatives (y|n, [none|zlib], {auto|manual}) shows as a muted {…} where its name would be, with the values listed once on the values: line, which sits on the flag's own row when it has no description, as in vgchange --activate, ld --compress-debug-sections, sg_inq --block and apt-mark's first operand.

Fixed

  • A sentence that heads an option table (Mandatory arguments to long options are mandatory for short options too. on cp, uniq, du, od and others) ends the description instead of being dropped.
  • ffmpeg is read from ffmpeg -h full, the most complete help it lists, instead of the basic ffmpeg -h.
  • python3 no longer repeats its option table as description text.
  • kernel-install lists add, add-all, remove, inspect and list as commands, each with the operands of its own usage form, and shows its COMMAND line as the first usage form.
  • elfedit and readelf show the sentence under their usage line as description and no longer invent an ELF operand; pngfix shows its description.
  • ip lists -iec, -j[son], -p[retty] and -br[ief] as their own flags instead of text on -h and -l[oops], and -l[oops] takes the value maximum-addr-flush-attempts.
  • git stash no longer lists diff-options and commit: git stash show lists diff-options and git stash store lists commit, and stash drop, pop, apply, git bundle verify and git remote prune list the operand their usage form names.
  • mandible jfr configure keeps the line breaks and indentation of the option=value, event-setting=value and Options for default.jfc: rows in its description.
  • chmod lists MODE[,MODE]..., OCTAL-MODE and FILE..., msgexec its COMMAND-OPTION and sotruss its EXECUTABLE-OPTION... operand.
  • A STYLE is one of: block (nl -b, -f, -h) or a <color>: black blue ... legend (setterm) gives its values to every flag whose value names the placeholder, and setterm --ulcolor and --hbcolor keep [bright] <color> as their value ([S-259]).
  • An Example usage: block of the tool's own command lines (jfr configure ...) is listed under EXAMPLES instead of the description, when a synopsis already sits above it.
  • Prose indented under a Usage: line and running on from it (pigz) is the description, not part of the usage line, and its last line is no longer dropped.
  • A value written straight onto its flag draws that way (-Z<type>, -z#, +<cmd>, -D<name>=<value>, -splash:<imagepath>), --buffers=[N] draws as written, -cp <path> and -verbose:[...] stay whole words, stacked spelling lines and -? -h -help are one flag, ebtables' [!] rows read, and less's -<flag> key is no flag, on java, dpkg-deb, nvim, less, ebtables and the tools that write glued values.
  • Flag rows with a dot leader between the short and long spelling (-a ........ --search-skip-screen) are read as one flag with both names, -nm | -nam[es] and a once-written [-force] stay whole words, and <script> [args...] is one value, on less, tc and nvim -l; less's long-only rows are their own flags, and overstrike no longer leaks into value names.
  • A flag row led by [!] (iptables' invertible flags) is read, and the page draws [!] before its spellings, muted like [no-]; a long-first head (--append -A chain) is one flag with both spellings and its value, on ip6tables-translate.
  • Flag rows read whole: ld's -EB, -Map FILE/DIR, -fini SYMBOL and -h FILENAME, -soname FILENAME, jstack's -? -h --help -help, strip's -M --merge-notes, era_invalidate's {-o <xml file>}, add-apt-repository's -S SOURCESLIST [SOURCESLIST ...] and nl's pBRE choice.
  • Usage-line operands now reach the tree for [option...] [mapfile...], COMMAND [INITIAL-ARGS]..., operation [count], type#[source] destination [-t type] and xfsdev | dir | file ...; option(s) is no longer an operand, and update-ca-certificates shows its two flags.