* Help text for all (non-script) programs, so no more:
$ nix-instantiate --help error: unknown flag `--help` Try `nix-instantiate --help' for more information. :-)
This commit is contained in:
parent
905d5b91fa
commit
078e20885e
14 changed files with 126 additions and 32 deletions
|
|
@ -2,6 +2,13 @@
|
|||
|
||||
#include "hash.hh"
|
||||
#include "shared.hh"
|
||||
#include "help.txt.hh"
|
||||
|
||||
|
||||
void printHelp()
|
||||
{
|
||||
cout << string((char *) helpText, sizeof helpText);
|
||||
}
|
||||
|
||||
|
||||
void run(Strings args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue