mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Add "nix search" command
This commit is contained in:
parent
3162ad5ff4
commit
90825dea51
9 changed files with 263 additions and 102 deletions
|
@ -66,6 +66,7 @@ void Args::printHelp(const string & programName, std::ostream & out)
|
|||
std::cout << renderLabels({exp.label});
|
||||
// FIXME: handle arity > 1
|
||||
if (exp.arity == 0) std::cout << "...";
|
||||
if (exp.optional) std::cout << "?";
|
||||
}
|
||||
std::cout << "\n";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue