about summary refs log tree commit diff
path: root/README
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 /README
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 'README')
-rw-r--r--README4
1 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index 4a38bf1..a625c77 100644
--- a/README
+++ b/README
@@ -69,8 +69,10 @@ COMMANDS
      xlg pkg
         – open short commit log for XBPS template
 
-     xlint template | pkgname
+     xlint template | pkgname | :pkgname | :
         – scan XBPS template for common mistakes
+        - use ':pkgname' to lint template as staged in the git index
+        - use ':' to lint all templates staged in the git index
 
      xlocate
         [-g | -S | pattern] – locate files in all XBPS packages