aboutsummaryrefslogtreecommitdiff
path: root/src/nix-hash/nix-hash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-hash/nix-hash.cc')
-rw-r--r--src/nix-hash/nix-hash.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nix-hash/nix-hash.cc b/src/nix-hash/nix-hash.cc
index 77c169b9a..23309ff74 100644
--- a/src/nix-hash/nix-hash.cc
+++ b/src/nix-hash/nix-hash.cc
@@ -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)