X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FProgramOptions.cc;h=50f773a6fef973722b63a31feeaa9e082a20f86a;hb=6aae6e526573187ece558842e928578e5aa4cc4c;hp=e68ce7d2ed2348108a9d2e5b024687ce50016d8a;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Utils/Console/ProgramOptions.cc b/senf/Utils/Console/ProgramOptions.cc index e68ce7d..50f773a 100644 --- a/senf/Utils/Console/ProgramOptions.cc +++ b/senf/Utils/Console/ProgramOptions.cc @@ -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 @@ -29,7 +29,7 @@ // Custom includes #include #include -#include +#include #include "OverloadedCommand.hh" //#include "ProgramOptions.mpp" @@ -83,7 +83,7 @@ prefix_ void senf::console::detail::ProgramOptionsSource::v_parse(RestrictedExec --n; } } - else + else param = arg.substr(i+1); i = arg.size(); } @@ -120,7 +120,7 @@ senf::console::detail::ProgramOptionsSource::parseLongOption(std::string const & ParseCommandInfo cmd; Path path; - + DirectoryNode::ptr cwd (executor.root().thisptr()); std::string::size_type b (0); while (b < name.size()) {