diff options
author | Alec Larson <aleclarson@users.noreply.github.com> | 2018-04-10 11:43:05 -0400 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-10 13:04:46 -0300 |
commit | bfc77ef7989d8a07f53681bde17c0c33b1734404 (patch) | |
tree | e3e7f5a8fb7c4c0ded45cacab2c8b89af508a3c6 | |
parent | 433e9cab5808d734ce63a5a5c5898bfc112d292e (diff) | |
download | luarocks-bfc77ef7989d8a07f53681bde17c0c33b1734404.tar.gz luarocks-bfc77ef7989d8a07f53681bde17c0c33b1734404.tar.bz2 luarocks-bfc77ef7989d8a07f53681bde17c0c33b1734404.zip |
add --porcelain to search help
-rw-r--r-- | src/luarocks/cmd/search.lua | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/luarocks/cmd/search.lua b/src/luarocks/cmd/search.lua index 50471c6e..d12f5314 100644 --- a/src/luarocks/cmd/search.lua +++ b/src/luarocks/cmd/search.lua | |||
@@ -10,12 +10,13 @@ local search = require("luarocks.search") | |||
10 | cmd_search.help_summary = "Query the LuaRocks servers." | 10 | cmd_search.help_summary = "Query the LuaRocks servers." |
11 | cmd_search.help_arguments = "[--source] [--binary] { <name> [<version>] | --all }" | 11 | cmd_search.help_arguments = "[--source] [--binary] { <name> [<version>] | --all }" |
12 | cmd_search.help = [[ | 12 | cmd_search.help = [[ |
13 | --source Return only rockspecs and source rocks, | 13 | --source Return only rockspecs and source rocks, |
14 | to be used with the "build" command. | 14 | to be used with the "build" command. |
15 | --binary Return only pure Lua and binary rocks (rocks that can be used | 15 | --binary Return only pure Lua and binary rocks (rocks that can be used |
16 | with the "install" command without requiring a C toolchain). | 16 | with the "install" command without requiring a C toolchain). |
17 | --all List all contents of the server that are suitable to | 17 | --all List all contents of the server that are suitable to |
18 | this platform, do not filter by name. | 18 | this platform, do not filter by name. |
19 | --porcelain Return a machine readable format. | ||
19 | ]] | 20 | ]] |
20 | 21 | ||
21 | --- Splits a list of search results into two lists, one for "source" results | 22 | --- Splits a list of search results into two lists, one for "source" results |