From bfc77ef7989d8a07f53681bde17c0c33b1734404 Mon Sep 17 00:00:00 2001 From: Alec Larson <aleclarson@users.noreply.github.com> Date: Tue, 10 Apr 2018 11:43:05 -0400 Subject: add --porcelain to search help --- src/luarocks/cmd/search.lua | 13 +++++++------ 1 file 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") cmd_search.help_summary = "Query the LuaRocks servers." cmd_search.help_arguments = "[--source] [--binary] { <name> [<version>] | --all }" cmd_search.help = [[ ---source Return only rockspecs and source rocks, - to be used with the "build" command. ---binary Return only pure Lua and binary rocks (rocks that can be used - with the "install" command without requiring a C toolchain). ---all List all contents of the server that are suitable to - this platform, do not filter by name. +--source Return only rockspecs and source rocks, + to be used with the "build" command. +--binary Return only pure Lua and binary rocks (rocks that can be used + with the "install" command without requiring a C toolchain). +--all List all contents of the server that are suitable to + this platform, do not filter by name. +--porcelain Return a machine readable format. ]] --- Splits a list of search results into two lists, one for "source" results -- cgit v1.2.3-55-g6feb