lix/src/libutil
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
..
affinity.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
affinity.hh Run the daemon worker on the same CPU as the client 2013-08-07 14:02:04 +02:00
archive.cc Include config.h implicitly with '-include config.h' in CFLAGS 2017-02-08 21:51:02 +02:00
archive.hh Revert fa125b9b28 2017-03-06 13:56:20 +01:00
args.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
args.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
compression.cc Fix xz decompression 2017-03-22 11:53:33 +01:00
compression.hh LocalFSStore::getBuildLog(): Handle corrupted logs 2017-03-21 19:23:35 +01:00
config.cc nix: Make all options available as flags 2017-06-07 16:17:17 +02:00
config.hh nix: Make all options available as flags 2017-06-07 16:17:17 +02:00
finally.hh Add missing #include 2016-11-07 14:35:47 +01:00
hash.cc Fix hash computation when importing NARs greater than 4 GiB 2017-04-28 15:24:05 +02:00
hash.hh Cache path info lookups in SQLite 2016-04-20 14:12:38 +02:00
istringstream_nocopy.hh Move istringstream_nocopy to a separate file 2017-03-21 14:43:03 +01:00
json.cc Improve nix show-config --json 2017-04-20 17:34:47 +02:00
json.hh Improve nix show-config --json 2017-04-20 17:34:47 +02:00
lazy.hh Figure out the user's home directory if $HOME is not set 2017-05-05 17:08:23 +02:00
local.mk Add support for brotli compression 2017-03-15 16:49:06 +01:00
logging.cc Fix build failure on Debian/Ubuntu 2017-05-29 15:59:18 +02:00
logging.hh Fix build failure on Debian/Ubuntu 2017-05-29 15:59:18 +02:00
lru-cache.hh nix-daemon: Disable path info cache 2017-04-06 14:30:31 +02:00
monitor-fd.hh Fix interrupt handling 2017-01-26 20:40:33 +01:00
pool.hh Add Store nesting to fix import-from-derivation within filterSource 2017-04-26 14:15:47 -04:00
ref.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
serialise.cc readString(): Read directly into std::string 2017-03-01 14:54:11 +01:00
serialise.hh RemoteStore::addToStore(): Send NAR rather than string containing NAR 2017-03-01 16:07:15 +01:00
sync.hh nix-daemon: Disable path info cache 2017-04-06 14:30:31 +02:00
thread-pool.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
thread-pool.hh Fix assertion failure in ThreadPool::enqueue() 2016-07-21 18:14:16 +02:00
types.hh Make fmt() non-recursive 2017-05-15 17:36:32 +02:00
util.cc Improve progress indicator 2017-05-16 16:09:57 +02:00
util.hh Improve progress indicator 2017-05-16 16:09:57 +02:00
xml-writer.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
xml-writer.hh And another one 2014-02-26 18:55:18 +01:00