1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Remove mkFlag()

This commit is contained in:
Eelco Dolstra 2021-01-27 12:06:03 +01:00
parent f15f0b8e83
commit 8e758d402b
7 changed files with 105 additions and 45 deletions

View file

@ -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",