mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Remove mkFlag()
This commit is contained in:
parent
f15f0b8e83
commit
8e758d402b
7 changed files with 105 additions and 45 deletions
|
@ -18,7 +18,11 @@ struct CmdEval : MixJSON, InstallableCommand
|
|||
|
||||
CmdEval()
|
||||
{
|
||||
mkFlag(0, "raw", "Print strings without quotes or escaping.", &raw);
|
||||
addFlag({
|
||||
.longName = "raw",
|
||||
.description = "Print strings without quotes or escaping.",
|
||||
.handler = {&raw, true},
|
||||
});
|
||||
|
||||
addFlag({
|
||||
.longName = "apply",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue