diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-05 21:07:38 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-05 21:07:38 +0200 |
| commit | 0c588523a5c5afd6b28e36e14e9ca2c166d61097 (patch) | |
| tree | 4fb46747dd6af0cdf690a0f3998cd31df497c4f9 /mkhint.1.md | |
| parent | 857e1b38aad13b17aea233c61bed239719973508 (diff) | |
| download | mkhintfile-0c588523a5c5afd6b28e36e14e9ca2c166d61097.tar.gz mkhintfile-0c588523a5c5afd6b28e36e14e9ca2c166d61097.zip | |
chore: release v1.1.2v1.1.2
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'mkhint.1.md')
| -rw-r--r-- | mkhint.1.md | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/mkhint.1.md b/mkhint.1.md index cf73fb8..3f87454 100644 --- a/mkhint.1.md +++ b/mkhint.1.md @@ -1,4 +1,4 @@ -% MKHINT(1) mkhint 1.1.1 | User Commands +% MKHINT(1) mkhint 1.1.2 | User Commands % Danilo M. % July 2026 @@ -51,7 +51,9 @@ latest version and prompts to accept, override, or decline. Backs the hint up to *FILE*.bak first. **\--new**, **-n** *FILE* -: Create a new hint file from the package's `.info` template. Keeps `VERSION` +: Create a new hint file from the package's `.info`. Strips `PRGNAM`, +`HOMEPAGE`, `MAINTAINER`, and `EMAIL`, comments out `REQUIRES`, and sets +`ARCH="x86_64"`, keeping only the variables a hint needs. `VERSION` is kept from the `.info` unless **-V** is given. Appends an **nvchecker** section to the config, autodetecting a github or pypi source or leaving a commented stub. @@ -105,7 +107,7 @@ Same, then append `NODOWNLOAD=yes`: Create a new hint from `.info`: - mkhint --new mypackage # copy .info as-is, keep its VERSION + mkhint --new mypackage # from .info, keep its VERSION mkhint -n mypackage -V 1.2.3 # update version + recalculate md5 mkhint -n mypackage -V 1.2.3 -N # same, add NODOWNLOAD=yes @@ -189,6 +191,16 @@ and the **\--new** phantom-dep hook no-ops. 4 : Required tool not available (wget / nvchecker / nvtake / jq). +# BASH COMPLETION + +A bash completion script ships with **mkhint** (install to +*/etc/bash-completion.d/mkhint*). It completes long and short options and, for +**-f**, **-n**, **-d**, **-C**, **-R**, and **-l**, the package names from their +respective directories. With **-f** *package* already on the command line, +**-V** *TAB* suggests the current `VERSION` from that package's hint. The +completion script sources the same *~/.config/mkhint/config*, so its paths stay +in sync with **mkhint**. + # SEE ALSO **slackrepo**(8), **nvchecker**(1), **nvtake**(1) |
