Repository navigation
Release Notes - Version 0.9.1
Install
Homebrew (macOS or Linux)
brew install as-foss/mandible/mandibleFedora / EPEL (COPR repository)
sudo dnf copr enable as-foss/mandible
sudo dnf install mandibleNix
nix run github:AS-FOSS/mandibleCargo
cargo binstall mandible
cargo install mandibleDebian 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
--helpanswer 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,allafter--help, or a command the text lists;tc,genlandrtmonshow their pages. - A
NAME := { a | b }production behind a usage form's command position (ip [ OPTIONS ] OBJECT { COMMAND | help }) lists that tool's commands, soip,tc,bridge,devlink,rdma,dcbandvdpashow them instead of anOBJECToperand; the braced list after a flag in a production is its values (rtmon -f[amily]); a command whose--helpgives nothing is asked<command> helponce, when the usage form showshelpthere.
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,zstdlessandpagerdraw--tabs=[N[,...]]and--quotes=[c[c]]with the=outside the bracket, as the tool writes them.curl --http0.9,--http1.0,--tlsv1.3and the other names with a dotted number are whole flag names, not a name plus a value, and so arenode --tls-min-v1.2andsetarch --uname-2.6.genlshows{ ctrl etc }as the text of itsOBJECToperand.iplists-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 optionsandtar --ignore-command-errorkeep 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/nosyncreads as--sync, --nosync, and the description ofrescan-scsi-bus.shno longer repeats its flag rows. ucfandlcfshow-d, --debug=[n],-s, --src-dir fooand--state-dir barwith their full descriptions,ucf -p destinationas a second usage form, and-p, --purgeas one flag;lessdraws--pattern=[pattern]as written.java -verbose:[class|module|gc|jni]lists class, module, gc and jni as its values.od,nanoandautom4teshow their description: two spaces after a full stop no longer read as a column gap that drops the paragraph.od -tlists all seven format specifications (d[SIZE],f[SIZE]and the rest), and-j,-N,-Sand-wlist the wholeb,KB,K,MB,Mmultiplier table instead of its first row.javashows its five usage forms, each(to execute ...)note on its own line under its form;jinfoandjstackdraw their note the same way.ip link helpand the pages like it: every form of a multi-form usage block belongs to its verb (includingadd,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 := textlegends describe their placeholder onip macsecandip l2tp(:=dropped,{ none | default }as values),ip l2tp del tunnelanddel sessionare commands ofdel,bridge fdb showis a command ofbridge fdb, a new dash word separates flags indevlink's option production,tcreads{ -cf | -conf } pathas one flag, andgenlno longer listshelpas 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 thevalues:line, which sits on the flag's own row when it has no description, as invgchange --activate,ld --compress-debug-sections,sg_inq --blockandapt-mark's first operand.
Fixed
- A sentence that heads an option table (
Mandatory arguments to long options are mandatory for short options too.oncp,uniq,du,odand others) ends the description instead of being dropped. ffmpegis read fromffmpeg -h full, the most complete help it lists, instead of the basicffmpeg -h.python3no longer repeats its option table as description text.kernel-installlistsadd,add-all,remove,inspectandlistas commands, each with the operands of its own usage form, and shows itsCOMMANDline as the first usage form.elfeditandreadelfshow the sentence under their usage line as description and no longer invent anELFoperand;pngfixshows its description.iplists-iec,-j[son],-p[retty]and-br[ief]as their own flags instead of text on-hand-l[oops], and-l[oops]takes the valuemaximum-addr-flush-attempts.git stashno longer listsdiff-optionsandcommit:git stash showlistsdiff-optionsandgit stash storelistscommit, andstash drop,pop,apply,git bundle verifyandgit remote prunelist the operand their usage form names.mandible jfr configurekeeps the line breaks and indentation of theoption=value,event-setting=valueandOptions for default.jfc:rows in its description.chmodlistsMODE[,MODE]...,OCTAL-MODEandFILE...,msgexecitsCOMMAND-OPTIONandsotrussitsEXECUTABLE-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, andsetterm --ulcolorand--hbcolorkeep[bright] <color>as their value ([S-259]). - An
Example usage:block of the tool's own command lines (jfr configure ...) is listed underEXAMPLESinstead 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 -helpare one flag,ebtables'[!]rows read, andless's-<flag>key is no flag, onjava,dpkg-deb,nvim,less,ebtablesand 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, onless,tcandnvim -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, onip6tables-translate. - Flag rows read whole:
ld's-EB,-Map FILE/DIR,-fini SYMBOLand-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 ...]andnl'spBREchoice. - Usage-line operands now reach the tree for
[option...] [mapfile...],COMMAND [INITIAL-ARGS]...,operation [count],type#[source] destination [-t type]andxfsdev | dir | file ...;option(s)is no longer an operand, andupdate-ca-certificatesshows its two flags.