You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Command line: --option=value, an option taken as a value, no "--", Windows paths in help #1709
Four small things in the command-line parser (CliOptions.Parse) and the help text (Help.cs). Reproduced with filee 2.3.0 on macOS; the same code is unchanged on main (cf96cd5).
--option=value is refused: --to=jpg gives "Unknown option '--to=jpg'". Many tools accept both forms, and scripts often build arguments that way.
An option that needs a value takes the next argument even when it is another option. filee convert a.png --to jpg -o --json saves into a folder named --json and prints text instead of JSON.
There is no -- to end the options, so a file named like --draft.md or -1 can't be given, and -- itself is "Unknown option '--'".
filee help watch says <folder>\converted and <folder>\originals on macOS and Linux too, and the examples in filee help use D:\Scans and D:\Inbox on every platform.
What did you expect?
--to=jpg works like --to jpg, for every option that takes a value.
When the value is itself one of the options, the existing error: "-o needs a value."
Everything after -- is a file or folder.
The help uses the platform's path separator, and the examples use paths of the platform (for example ~/Scans on macOS and Linux).
Activity