Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 12/25] Finish helper `__luarocks_lua_versions`.
- X-seq: zsh-workers 42839
- From: doron.behar@xxxxxxxxx
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 12/25] Finish helper `__luarocks_lua_versions`.
- Date: Sat, 26 May 2018 18:06:21 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=3/5Wf76vPpsjd1kBgwJFHaEtYTls396FneP40cQew2g=; b=ekZ+3bAvqtQAaqC8QVJxkQOWGPXONNdgHZL6/obICz2K1t+XuQyu3GYgi6guvQ3gFW TdSGWYyCDoxhwEGhmw+P94EvqgtIODk4jsaV82rVtMSVJlf6nWHdv9dqYaR0p4HOGjUP Jdk79JzwywbZDDctKoYaatCpEzWQdPuuz9A+kb3tmt9s43Cf/sYAlf9v4VCwb53tm6C3 wPaEaoIDUPrT7sF3LspyfDKTKHB18pRvUhKIY52FojWwaQ8g0nc4OT9XwmouX694ar0N 61pOd/7+XV3Jpc3AmP9hyiXjWxfuwcpD4xAbV1YJ84l4UXueCuBcXhfbmoY1Y34K+HhV BWAA==
- In-reply-to: <20180526150634.15683-1-doron.behar@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20180526150634.15683-1-doron.behar@gmail.com>
From: Doron Behar <doron.behar@xxxxxxxxx>
---
Completion/Unix/Command/_luarocks | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index c79d8cd20..c1a47773b 100644
--- a/Completion/Unix/Command/_luarocks
+++ b/Completion/Unix/Command/_luarocks
@@ -54,9 +54,8 @@ __luarocks_c_libs(){
}
# }}}
# {{{ helper: lua versions
-# TODO
-__luarocks_lua_version(){
- _values -s ,
+__luarocks_lua_versions(){
+ _values -s , 5.3 5.2 5.1
}
# }}}
# {{{ helper: installed rocks cache policy
@@ -391,7 +390,7 @@ local write_rockspec_command_options=(
'--summary=[A short one-line description summary]:SUMMARY_TEXT:{_message -e "write a short summary of the rock"}'
'--detailed=[A longer description string]:DETAILED_TEXT:{_message -e "write a detailed description of the rock"}'
'--homepage=[Project homepage]:URL:_luarocks_write_rockspec_homepage'
- '--lua-version=[Supported Lua versions]:LUA_VER:__luarocks_version'
+ '--lua-version=[Supported Lua versions]:LUA_VER:__luarocks_lua_versions'
'--rockspec-format=[Rockspec format version, such as "1.0" or "1.1"]:VER: '
'--tag=[Tag to use. Will attempt to extract version number from it]:TAG:__git_tag'
'--lib=[A comma-separated list of libraries that C files need to link to]:__luarocks_c_libs'
--
2.17.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author