X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FProgramOptions.ih;h=29c2ebf8cf5a83993e01673b63663bb858e1c911;hb=463db052ea9d1c292bfd40301d0dc4963411485e;hp=7bbbf0cc3131b935e1b6573227bfacdb9fda2d5e;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Console/ProgramOptions.ih b/senf/Utils/Console/ProgramOptions.ih index 7bbbf0c..29c2ebf 100644 --- a/senf/Utils/Console/ProgramOptions.ih +++ b/senf/Utils/Console/ProgramOptions.ih @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2008 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -35,7 +35,7 @@ namespace senf { namespace console { namespace detail { - + #ifndef DOXYGEN class ProgramOptionsSource : public ConfigSource @@ -48,10 +48,10 @@ namespace detail { template ProgramOptionsSource & nonOptions(Container & container); ProgramOptionsSource & alias(char letter, std::string const & longOpt, bool withArg=false); - + private: ProgramOptionsSource(int argc, char const ** argv); - + virtual void v_parse(RestrictedExecutor & executor); void parseLongOption(std::string const & arg, RestrictedExecutor & executor); @@ -84,7 +84,7 @@ namespace detail { }; typedef std::map ShortOptions; - + int argc_; char const ** argv_; CommandParser parser_;