From e3e776ae0c6d6d8b74810dc381cbb621c635e184 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Fri, 12 Aug 2022 03:11:24 -0400 Subject: xgensum: use getopts for argument parsing, update completions Closes: #256 [via git-merge-pr] --- _xtools | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '_xtools') 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)"' } -- cgit 1.4.1