Prefix notation cannot be used with inline mappings
Closed this issue · 0 comments
ericcornelissen commented
Bug Report
- wordrow version:
v0.4.0-beta
- Operating system: Ubuntu 19.04
Description
It is currently not possible to use the prefix notation with inline/CLI specified mappings.
Actual Behaviour
When providing a mapping that uses the prefix notation, e.g. ⬇️, wordrow will output an error saying "Missing value for --map/-m option".
$ ./wordrow --map "-bar,-baz" ./inputfile.txt
Expected Behaviour
wordrow should simply take the argument provided after --map
and add it to the internal list of mappings.
Working Example
- Define an input file.
# inputfile.txt
foobar
- Run
$ ./wordrow --map "-bar,-baz" ./inputfile.txt
Log Output
$ wordrow --map "-bar,-baz" ./inputfile.txt
[Error] Missing value for --map/-m option