Closed rnhmjoj closed 4 years ago
This change is backwards incompatible. I would prefer to keep both flags
Hi vikstrous, this is still compatible with port but also supports the use of host and port:
e.g. transmission-port = 192.168.0.21:9091
The current version already supports this but calling it port implies only port is possible.
This is a backwards incompatible change that will break for anyone using the flag / config already. We need to keep both options.
ah yes, i see. Can the help just be updated then and the name of the flag stay the same?
Turns out it's pretty easy to add aliases to argparse arguments, I also added an alias to the transmission-port
config option. Now it's backward compatibile.
This is a fix for #127. The current
--port/-P
options actually can specify both hostname and port (and endpoint) but it's not clear from the pirate-get help.