diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-10-03T20·37-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-10-03T20·40-0400 |
commit | a562d544d8520a0f113ad1a348e28ea00f27b693 (patch) | |
tree | 5e8d7200b8521aa54e2c8846ef7c31fd5dac737e /src/nix-instantiate/help.txt | |
parent | 9c41c66c5b877dbb529f6147b28384a57a591895 (diff) |
When ‘--help’ is given, just run ‘man’ to show the manual page
I.e. do what git does. I'm too lazy to keep the builtin help text up to date :-) Also add ‘--help’ to various commands that lacked it (e.g. nix-collect-garbage).
Diffstat (limited to 'src/nix-instantiate/help.txt')
-rw-r--r-- | src/nix-instantiate/help.txt | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/nix-instantiate/help.txt b/src/nix-instantiate/help.txt deleted file mode 100644 index 21822132aece..000000000000 --- a/src/nix-instantiate/help.txt +++ /dev/null @@ -1,31 +0,0 @@ -Usage: nix-instantiate [OPTIONS...] [FILES...] - -`nix-instantiate' turns Nix expressions into store derivations. - -The argument `-' may be specified to read a Nix expression from -standard input. - -Options: - - --version: output version information - --help: display help - - --verbose / -v: verbose operation (may be repeated) - - --eval-only: evaluate and print resulting term; do not instantiate - --parse-only: parse and print abstract syntax tree - - --attr / -A PATH: select an attribute from the top-level expression - - --add-root: add garbage collector roots for the result - -For --eval-only / --parse-only: - - --xml: print an XML representation of the abstract syntax tree - --no-location: don't provide source location information in the - output XML tree - -For --eval-only: - - --strict: compute attributes and list elements, rather than being - lazy |