X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FProgramOptions.cc;h=50f773a6fef973722b63a31feeaa9e082a20f86a;hb=78a6e233083efa63a9cd0684a92abc64202a9ee7;hp=951c5f0410f2a9188b86ff18dec3877d042fb4e7;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Console/ProgramOptions.cc b/senf/Utils/Console/ProgramOptions.cc index 951c5f0..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 "../../Utils/range.hh" +#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()) {