aboutsummaryrefslogtreecommitdiff
path: root/src/zen/zen.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-09-18 12:21:07 +0200
committerDan Engelbrecht <[email protected]>2024-09-18 12:21:53 +0200
commit6db299f0f97e78b3da38bc35d97bc86a88062d8a (patch)
treeb8f51bff9ca9f1a620541e2dc654ce422ef70635 /src/zen/zen.cpp
parentcache generate command to create large data sets for testing (#159) (diff)
downloadarchived-zen-de/improve-status-command.tar.xz
archived-zen-de/improve-status-command.zip
clean up name/description of up, attach, down and status commandsde/improve-status-command
Diffstat (limited to 'src/zen/zen.cpp')
-rw-r--r--src/zen/zen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zen/zen.cpp b/src/zen/zen.cpp
index 79338f6f3..d6ff3ee2e 100644
--- a/src/zen/zen.cpp
+++ b/src/zen/zen.cpp
@@ -340,7 +340,7 @@ main(int argc, char** argv)
const char* CmdSummary;
} Commands[] = {
// clang-format off
- {"attach", &AttachCmd, "Add a sponsor process to a running zen service"},
+ {AttachCommand::Name, &AttachCmd, AttachCommand::Description},
{"bench", &BenchCmd, "Utility command for benchmarking"},
{"cache-details", &CacheDetailsCmd, "Details on cache"},
{"cache-info", &CacheInfoCmd, "Info on cache, namespace or bucket"},
@@ -349,7 +349,7 @@ main(int argc, char** argv)
{"copy", &CopyCmd, "Copy file(s)"},
{"copy-state", &CopyStateCmd, "Copy zen server disk state"},
{"dedup", &DedupCmd, "Dedup files"},
- {"down", &DownCmd, "Bring zen server down"},
+ {DownCommand::Name, &DownCmd, DownCommand::Description},
{"drop", &DropCmd, "Drop cache namespace or bucket"},
{"gc-status", &GcStatusCmd, "Garbage collect zen storage status check"},
{"gc-stop", &GcStopCmd, "Request cancel of running garbage collection in zen storage"},
@@ -376,10 +376,10 @@ main(int argc, char** argv)
{"run", &RunCmd, "Run command with special options"},
{"scrub", &ScrubCmd, "Scrub zen storage (verify data integrity)"},
{"serve", &ServeCmd, "Serve files from a directory"},
- {"status", &StatusCmd, "Show zen status"},
+ {StatusCommand::Name, &StatusCmd, StatusCommand::Description},
{"top", &TopCmd, "Monitor zen server activity"},
{"trace", &TraceCmd, "Control zen realtime tracing"},
- {"up", &UpCmd, "Bring zen server up"},
+ {UpCommand::Name, &UpCmd, UpCommand::Description},
{"version", &VersionCmd, "Get zen server version"},
{"vfs", &VfsCmd, "Manage virtual file system"},
{"flush", &FlushCmd, "Flush storage"},