Don't show flags from config settings in "nix --help"
This commit is contained in:
parent
aa952d5f0b
commit
186571965d
9 changed files with 140 additions and 54 deletions
|
|
@ -13,8 +13,13 @@ struct CmdCopySigs : StorePathsCommand
|
|||
|
||||
CmdCopySigs()
|
||||
{
|
||||
mkFlag('s', "substituter", {"store-uri"}, "use signatures from specified store", 1,
|
||||
[&](Strings ss) { substituterUris.push_back(ss.front()); });
|
||||
mkFlag()
|
||||
.longName("substituter")
|
||||
.shortName('s')
|
||||
.labels({"store-uri"})
|
||||
.description("use signatures from specified store")
|
||||
.arity(1)
|
||||
.handler([&](Strings ss) { substituterUris.push_back(ss.front()); });
|
||||
}
|
||||
|
||||
std::string name() override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue