aboutsummaryrefslogtreecommitdiff
path: root/src/zen/cmds/master_cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zen/cmds/master_cmd.h')
-rw-r--r--src/zen/cmds/master_cmd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zen/cmds/master_cmd.h b/src/zen/cmds/master_cmd.h
index 78e433e2c..83e907eeb 100644
--- a/src/zen/cmds/master_cmd.h
+++ b/src/zen/cmds/master_cmd.h
@@ -31,6 +31,8 @@ public:
virtual void Run(MasterConfig& Config, int argc, char* argv[]) = 0;
+ inline const std::string_view Name() const { return m_CommandName; }
+
private:
std::string m_CommandName;
cxxopts::Options m_Options;