diff options
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; }; |