X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FProgramOptions.cc;fp=senf%2FUtils%2FConsole%2FProgramOptions.cc;h=50f773a6fef973722b63a31feeaa9e082a20f86a;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=f98eb9b2604fd6ed6da7d29b8e9aaae6e3e218de;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Utils/Console/ProgramOptions.cc b/senf/Utils/Console/ProgramOptions.cc index f98eb9b..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 @@ -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()) {