]> git.tdb.fi Git - builder.git/blobdiff - source/buildercli.h
Use GetOpt's new features
[builder.git] / source / buildercli.h
index ac8875231ff27ddba88fa6844edc33a31c67c115..42ed0c350d81d62f584b9c13e42377362fe14c37 100644 (file)
@@ -22,6 +22,7 @@ private:
        unsigned clean;
        bool dry_run;
        bool help;
+       std::string helpmsg;
        bool show_progress;
        std::string build_file;
        unsigned jobs;
@@ -31,18 +32,15 @@ private:
        bool build_all;
        bool create_makefile;
 
-       static std::string usagemsg;
-       static std::string helpmsg;
-
 public:
        BuilderCLI(int, char **);
        ~BuilderCLI();
 
        virtual int main();
 
+private:
        bool prepare_build();
 
-       static void usage(const char *, const char *, bool);
        void package_help();
 };