about summary refs log tree commit diff
path: root/_xtools
diff options
context:
space:
mode:
authorclassabbyamp <void@placeviolette.net>2022-08-12 03:11:24 -0400
committerLeah Neukirchen <leah@vuxu.org>2022-08-13 15:19:57 +0200
commite3e776ae0c6d6d8b74810dc381cbb621c635e184 (patch)
treed219fc6a3e502469f5beec5ac4ccab7125e455b9 /_xtools
parent6c224dbedf9f8eb24d77ccad54590426884062b7 (diff)
downloadxtools-e3e776ae0c6d6d8b74810dc381cbb621c635e184.tar.gz
xtools-e3e776ae0c6d6d8b74810dc381cbb621c635e184.tar.xz
xtools-e3e776ae0c6d6d8b74810dc381cbb621c635e184.zip
xgensum: use getopts for argument parsing, update completions
Closes: #256 [via git-merge-pr]
Diffstat (limited to '_xtools')
-rw-r--r--_xtools3
1 files changed, 2 insertions, 1 deletions
diff --git a/_xtools b/_xtools
index aed7f86..42b2dc1 100644
--- a/_xtools
+++ b/_xtools
@@ -51,10 +51,11 @@ _xdowngrade() {
 }
 
 _xgensum() {
-	_arguments : \
+	_arguments -s : \
 		'-f[force downloading of files]' \
 		'-c[use content checksum]' \
 		'-i[substitute in-place]' \
+		'-H[Absolute path to hostdir]:hostdir:_files -/' \
 		':available templates:_path_files -g "*(/)|template(N)"'
 }