Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH 11/25] General internal conventions sync.



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