about summary refs log tree commit diff
path: root/src/libutil/args.hh
AgeCommit message (Collapse)AuthorFilesLines
2017-10-24 nix: Respect -I, --arg, --argstrEelco Dolstra1-39/+29
Also, random cleanup to argument handling.
2017-09-25 DohEelco Dolstra1-1/+1
2017-09-14 Add "nix add-to-store" commandEelco Dolstra1-3/+4
2017-09-06 nix build: Add --out-link and --no-link optionsEelco Dolstra1-0/+13
2017-08-29 nix run: Allow passing a command to executeEelco Dolstra1-0/+2
E.g. nix run nixpkgs.hello -c hello --greeting Hallo Note that unlike "nix-shell --command", no quoting of arguments is necessary. "-c" (short for "--command") cannot be combined with "--" because they both consume all remaining arguments. But since installables shouldn't start with a dash, this is unlikely to cause problems.
2017-07-30 Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim1-1/+1
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
2017-07-20 Add "nix search" commandEelco Dolstra1-2/+2
2017-07-14 nix: Show help when no arguments are givenEelco Dolstra1-2/+3
Fixes #1464.
2017-06-07 Don't show flags from config settings in "nix --help"Eelco Dolstra1-26/+57
2017-06-07 nix: Add --help-config flagEelco Dolstra1-1/+1
2016-11-26 Revert "Get rid of unicode quotes (#1140)"Eelco Dolstra1-1/+1
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change...
2016-11-25 Get rid of unicode quotes (#1140)Guillaume Maudoux1-1/+1
2016-09-21 Some notational convenience for formatting stringsEelco Dolstra1-1/+1
We can now write throw Error("file '%s' not found", path); instead of throw Error(format("file '%s' not found") % path); and similarly printError("file '%s' not found", path); instead of printMsg(lvlError, format("file '%s' not found") % path);
2016-04-21 nix --help: Show short flagsEelco Dolstra1-1/+2
2016-02-25 Fix short boolean flagsEelco Dolstra1-1/+1
2016-02-09 Start of new Nix command-line interfaceEelco Dolstra1-0/+2
2016-02-09 New command line parsing infrastructureEelco Dolstra1-0/+160