Fix coverity #29604
[supertux.git] / src / supertux / command_line_arguments.hpp
index d1c254b..7aa048b 100644 (file)
@@ -42,6 +42,9 @@ private:
   LogLevel m_log_level;
 
 public:
+  boost::optional<std::string> datadir;
+  boost::optional<std::string> userdir;
+
   boost::optional<Size> fullscreen_size;
   boost::optional<int> fullscreen_refresh_rate;
   boost::optional<Size> window_size;
@@ -64,6 +67,8 @@ public:
   boost::optional<std::string> start_demo;
   boost::optional<std::string> record_demo;
 
+  boost::optional<bool> developer_mode;
+
   // boost::optional<std::string> locale;
 
 public:
@@ -75,7 +80,7 @@ public:
 
   void parse_args(int argc, char** argv);
 
-  void print_help(const char* argv0);
+  void print_help(const char* arg0);
   void print_version();
   void print_datadir();