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:
parent
2e6979dda2
commit
df90325380
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue