about summary refs log tree commit diff
path: root/xtools.1
diff options
context:
space:
mode:
authorGonzalo TornarĂ­a <tornaria@cmat.edu.uy>2022-02-20 11:54:01 -0300
committerLeah Neukirchen <leah@vuxu.org>2022-02-20 16:56:38 +0100
commit97b7b55dfdf2df95f37e46625202aa9a8cf1ffc8 (patch)
tree1e3a0b0094badbb4a98c79748eebfafe56c6cd72 /xtools.1
parentd3b0cdd3b741bd7163f513bf10f97687bfb133ff (diff)
downloadxtools-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.112
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 |