Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 11/25] General internal conventions sync.
- X-seq: zsh-workers 42838
- From: doron.behar@xxxxxxxxx
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 11/25] General internal conventions sync.
- Date: Sat, 26 May 2018 18:06:20 +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=EGOlnRB4zWnjHZgzAh+XMSjc0KVHy5xzXWN97ZJUxjA=; b=ZMSnlGiOBwGOQWWi/lYyFQds2e4o8iBJtkiMnPuZOoUtWoCsPu4Br+tlPJqN3Kv2sE 1ps0LuOrMxKbOB9xzK+B3nGXhOtJeY2BoaEPYPzRaUOeb0y16+Y7IWHcxV8QBdxH7oY2 h80Vt2iN171GQSFAkdnVvX+kJ30orSySKqA8sRbLPDOIptPbAggBFSxenaAxSp2zHB3Z NBlQEM6+MqSUAIlgUu7DX3O/OBe++QnlixaAxNSH7AdQasr6oxcZzHF3+VJ21ew9wvYd WKqRPuBqw+I9SiZXDEc6xttgD/GCt6kP0QW8hd6wMwbWdeT1196tCUl+z3oIIEWBFfL8 kqmQ==
- 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 | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 4f3271360..c79d8cd20 100644
--- a/Completion/Unix/Command/_luarocks
+++ b/Completion/Unix/Command/_luarocks
@@ -228,7 +228,7 @@ _luarocks_help(){
# }}}
# {{{ `install` command
# arguments:
-# - must: .rockspec file, or external rock
+# - must: .rockspec file / external rock
# - optional: version
# NOTE: it receives the same argument as the build command and it accepts the same options as well
_luarocks_install(){
@@ -237,9 +237,9 @@ _luarocks_install(){
# }}}
# {{{ `lint` command
# arguments:
-# must: rockspec file (first and last)
+# - must: rockspec file (first and last)
_luarocks_lint(){
- _arguments '1:ROCKSPEC_FILE:{__luarocks_rock "rockspec"}'
+ _arguments '1::{__luarocks_rock "rockspec"}'
}
# }}}
# {{{ `list` command
@@ -354,7 +354,7 @@ _luarocks_show(){
# }}}
# {{{ `unpack` command
# arguments:
-# - must: rock package file / an external rock
+# - must: rockpack file / external rock
# - optional: version (only when chossing external rock)
local unpack_command_options=(
'--force[Unpack files even if the output directory already exists]'
@@ -367,7 +367,7 @@ _luarocks_unpack(){
# }}}
# {{{ `upload` command
# arguments:
-# - must: rockspec file with .src.rock extension
+# - must: rockspec file
local upload_command_options=(
'--skip-pack[Do not pack and send source rock]'
'--api-key=[Give it an API key]:KEY:{_message "api key"}'
--
2.17.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author