command line: fixed --luids when using daemon

The --luids parameters were not sent correctly to the
syncevo-dbus-server, the default when --daemon=no wasn't given. As a
result the operation was applied to all items instead of just the
selected ones.
This commit is contained in:
Patrick Ohly 2012-04-27 09:11:06 +02:00
parent 2e6979dda2
commit df90325380

View file

@ -309,6 +309,7 @@ bool Cmdline::parse(vector<string> &parsed)
// all following parameters are luids; can't be combined
// with setting config and source name
while (++opt < m_argc) {
parsed.push_back(m_argv[opt]);
m_luids.push_back(CmdlineLUID::toLUID(m_argv[opt]));
}
} else {