diff options
author | Gonzalo TornarĂa <tornaria@cmat.edu.uy> | 2022-02-20 11:54:01 -0300 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-02-20 16:56:38 +0100 |
commit | 97b7b55dfdf2df95f37e46625202aa9a8cf1ffc8 (patch) | |
tree | 1e3a0b0094badbb4a98c79748eebfafe56c6cd72 /xtools.1 | |
parent | d3b0cdd3b741bd7163f513bf10f97687bfb133ff (diff) | |
download | xtools-97b7b55dfdf2df95f37e46625202aa9a8cf1ffc8.tar.gz xtools-97b7b55dfdf2df95f37e46625202aa9a8cf1ffc8.tar.xz xtools-97b7b55dfdf2df95f37e46625202aa9a8cf1ffc8.zip |
xlint: improvements to lint from git index
- do not leak $tmpfile in output from scan() - indent using tabs - add new options to README
Diffstat (limited to 'xtools.1')
-rw-r--r-- | xtools.1 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/xtools.1 b/xtools.1 index 9f8c631..c2db90c 100644 --- a/xtools.1 +++ b/xtools.1 @@ -73,8 +73,18 @@ but take cwd repo and sudo/su into account .Nd list installed packages by install-date .It Nm xlg Ar pkg .Nd open short commit log for XBPS template -.It Nm xlint Ar template | pkgname +.It Nm xlint Ar template | pkgname | Cm \&: Ns Ar pkgname | Cm \&: .Nd scan XBPS template for common mistakes +.Bl -dash -offset 0n -width 0n -compact +.It +use +.Sq Cm \&: Ns Ar pkgname +to lint template as staged in the git index +.It +use +.Sq Cm \&: +to lint all templates staged in the git index +.El .It Nm xlocate .Oo .Fl g | S | |