I don't fully understand command-line option parsing, _but_:

fossil commit -branch "my branch" -bgcolor #ffaabb

has the 'bgcolor' option returning a value of "my branch". This is incorrect. It appears that somewhere in the chain of command-line option parsing, "#" is interpretted as a comment,and it + rest of line is ignored (??).

*If* this is the case, -bgcolor should be recognized as missing an option,and throw an error.

Optionally (preferably?) it would be nice to not require quoting or escaping for "#" chars.