lix/src/nix
Eelco Dolstra b8283773bd
nix: Make all options available as flags
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-06-07 16:17:17 +02:00
..
build.cc Move code around 2017-04-25 12:07:31 +02:00
cat.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
command.cc nix dump-path: Add 2017-05-04 14:21:22 +02:00
command.hh nix dump-path: Add 2017-05-04 14:21:22 +02:00
copy.cc nix copy: Make -r option use the "from" store 2017-03-16 14:25:54 +01:00
dump-path.cc nix dump-path: Add 2017-05-04 14:21:22 +02:00
edit.cc Add "nix edit" command 2017-05-08 18:42:30 +02:00
eval.cc nix eval: Add a --raw flag 2017-05-03 14:08:18 +02:00
hash.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
installables.cc Improve progress indicator 2017-05-16 16:09:57 +02:00
legacy.cc Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
legacy.hh Fix Darwin build 2016-03-15 12:11:27 +01:00
local.mk Replace readline by linenoise 2017-05-10 18:37:42 +02:00
log.cc Move code around 2017-04-25 12:07:31 +02:00
ls.cc nix ls: support '/' for the root directory 2017-05-15 10:25:55 +02:00
main.cc nix: Make all options available as flags 2017-06-07 16:17:17 +02:00
path-info.cc Restructure installables handling in the "nix" command 2017-04-25 11:20:37 +02:00
progress-bar.cc Fix build failure on Debian/Ubuntu 2017-05-29 15:59:18 +02:00
progress-bar.hh Improved logging abstraction 2016-04-25 19:18:45 +02:00
repl.cc Replace readline by linenoise 2017-05-10 18:37:42 +02:00
run.cc StorePathCommands: Build installables 2017-04-25 16:19:22 +02:00
show-config.cc Move code around 2017-04-25 12:07:31 +02:00
sigs.cc Improve progress indicator 2017-05-16 16:09:57 +02:00
verify.cc Improve progress indicator 2017-05-16 16:09:57 +02:00