diff options
| author | Dan Engelbrecht <[email protected]> | 2024-09-18 12:21:07 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2024-09-18 12:21:53 +0200 |
| commit | 6db299f0f97e78b3da38bc35d97bc86a88062d8a (patch) | |
| tree | b8f51bff9ca9f1a620541e2dc654ce422ef70635 /src/zen/cmds/status_cmd.h | |
| parent | cache generate command to create large data sets for testing (#159) (diff) | |
| download | archived-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/cmds/status_cmd.h')
| -rw-r--r-- | src/zen/cmds/status_cmd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zen/cmds/status_cmd.h b/src/zen/cmds/status_cmd.h index 2dc742944..382b8e597 100644 --- a/src/zen/cmds/status_cmd.h +++ b/src/zen/cmds/status_cmd.h @@ -11,6 +11,9 @@ namespace zen { class StatusCommand : public ZenCmdBase { public: + static constexpr char Name[] = "status"; + static constexpr char Description[] = "Show zen status"; + StatusCommand(); ~StatusCommand(); @@ -20,7 +23,7 @@ public: private: int GetLockFileEffectivePort() const; - cxxopts::Options m_Options{"status", "Show zen status"}; + cxxopts::Options m_Options{Name, Description}; uint16_t m_Port; std::filesystem::path m_DataDir; }; |