about summary refs log tree commit diff
path: root/src/nix/main.cc
AgeCommit message (Collapse)AuthorFilesLines
2017-07-14 nix: Show help when no arguments are givenEelco Dolstra1-6/+9
Fixes #1464.
2017-06-07 Don't show flags from config settings in "nix --help"Eelco Dolstra1-1/+3
2017-06-07 nix: Add --help-config flagEelco Dolstra1-0/+20
2017-06-07 nix: Make all options available as flagsEelco Dolstra1-0/+2
Thus, instead of ‘--option <name> <value>’, you can write ‘--<name> <value>’. So --option http-connections 100 becomes --http-connections 100 Apart from brevity, the difference is that it's not an error to set a non-existent option via --option, but unrecognized arguments are fatal. Boolean options have special treatment: they're mapped to the argument-less flags ‘--<name>’ and ‘--no-<name>’. E.g. --option auto-optimise-store false becomes --no-auto-optimise-store
2017-05-16 Improve progress indicatorEelco Dolstra1-0/+1
2017-04-13 Convert Settings to the new config systemEelco Dolstra1-1/+0
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning.
2017-04-08 Process nix.conf options in "new" nix commands, add test.Will Dietz1-0/+1
Without this (minor) change, the options set using "--option" or read from nix.conf were parsed but not used.
2016-04-25 nix: Disable verbose buildsEelco Dolstra1-0/+2
2016-04-25 Improved logging abstractionEelco Dolstra1-0/+3
This also gets rid of --log-type, since the nested log type isn't useful in a multi-threaded situation, and nobody cares about the "pretty" log type.
2016-03-04 Add warning about "nix" being experimentalEelco Dolstra1-0/+1
2016-02-09 Start of new Nix command-line interfaceEelco Dolstra1-0/+55