Web UI runs CLI with incorrect -comment global option

Please describe what you are doing to trigger the bug:

Run backup from Web UI with global option -comment "LOG_AT_START LOG_VERBOSE"

Please describe what you expect to happen (but doesn’t):

Expect command to run normally.

Please describe what actually happens (the wrong behaviour):

Command fails:

Running backup command from /share/CACHEDEV1_DATA/.qpkg/Duplicacy/.duplicacy-web/repositories/localhost/9 to back up /share/Test
Options: [-log -comment "LOG_AT_START LOG_VERBOSE" backup -storage NAS0 -dry-run -stats]
No help topic for 'LOG_VERBOSE"'

Also, exit status is 0, so Web UI shows “Completed” instead of “Failed”

I’ll fix the exit code in the next CLI release. As a workaround can you use something else as the separator, like -comment LOG_AT_START:LOG_VERBOSE or -comment LOG_AT_START;LOG_VERBOSE?

Yes, that’s what I’ve been doing as a workaround.