aboutsummaryrefslogtreecommitdiff
path: root/zen/zen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/zen.cpp')
-rw-r--r--zen/zen.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/zen/zen.cpp b/zen/zen.cpp
index 302e8496f..5abe4b04e 100644
--- a/zen/zen.cpp
+++ b/zen/zen.cpp
@@ -20,7 +20,6 @@
#include <zencore/scopeguard.h>
#include <zencore/string.h>
#include <zencore/zencore.h>
-#include <zenstore/cas.h>
#if ZEN_WITH_TESTS
# define ZEN_TEST_WITH_RUNNER
@@ -109,12 +108,13 @@ main(int argc, char** argv)
auto _ = zen::MakeGuard([] { spdlog::shutdown(); });
- HashCommand HashCmd;
- CopyCommand CopyCmd;
- DedupCommand DedupCmd;
- DropCommand DropCmd;
- ChunkCommand ChunkCmd;
- RunCommand RunCmd;
+ HashCommand HashCmd;
+ CopyCommand CopyCmd;
+ DedupCommand DedupCmd;
+ DropCommand DropCmd;
+#if ZEN_WITH_EXEC_SERVICES
+ RunCommand RunCmd;
+#endif
StatusCommand StatusCmd;
TopCommand TopCmd;
PrintCommand PrintCmd;
@@ -134,14 +134,16 @@ main(int argc, char** argv)
const char* CmdSummary;
} Commands[] = {
// clang-format off
- {"chunk", &ChunkCmd, "Perform chunking"},
+// {"chunk", &ChunkCmd, "Perform chunking"},
{"copy", &CopyCmd, "Copy file(s)"},
{"dedup", &DedupCmd, "Dedup files"},
{"drop", &DropCmd, "Drop cache bucket(s)"},
{"hash", &HashCmd, "Compute file hashes"},
{"print", &PrintCmd, "Print compact binary object"},
{"printpackage", &PrintPkgCmd, "Print compact binary package"},
+#if ZEN_WITH_EXEC_SERVICES
{"run", &RunCmd, "Remote execution"},
+#endif // ZEN_WITH_EXEC_SERVICES
{"status", &StatusCmd, "Show zen status"},
{"ps", &PsCmd, "Enumerate running zen server instances"},
{"top", &TopCmd, "Monitor zen server activity"},