From 97b7b55dfdf2df95f37e46625202aa9a8cf1ffc8 Mon Sep 17 00:00:00 2001 From: Gonzalo TornarĂ­a Date: Sun, 20 Feb 2022 11:54:01 -0300 Subject: xlint: improvements to lint from git index - do not leak $tmpfile in output from scan() - indent using tabs - add new options to README --- xtools.1 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'xtools.1') 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 | -- cgit 1.4.1