lbryio / lbry-sdk

The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps.
https://lbry.com
MIT License
7.2k stars 483 forks source link

`lbrynet --help` output seems bit incorrect #3639

Open keikari opened 1 year ago

keikari commented 1 year ago

Running lbrynet --help returns following:

$ lbrynet --help
Usage:  lbrynet [-v] [--api HOST:PORT] [--audio-encoder AUDIO_ENCODER]
                [--config FILE] [--ffmpeg-path FFMPEG_PATH]
                [--video-bitrate-maximum VIDEO_BITRATE_MAXIMUM]
                [--video-encoder VIDEO_ENCODER] [--video-scaler VIDEO_SCALER]
                [--volume-analysis-time VOLUME_ANALYSIS_TIME]
                [--volume-filter VOLUME_FILTER]
                COMMAND ...
.
.
.

But starting lbrynet following that format, doesn't seem to make options used to take effect.

For example, this doesn't make api listen to port set in command: lbrynet --api 0.0.0.0:11111 start

(This would work and lbrynet start --help does show the option in its output: lbrynet start --api 0.0.0.0:11111)

Codes4Fun commented 1 year ago

I ran into the same problem with --config option. Where it has no effect to the start command if used before lbrynet --config settings.yml start, but works correctly if used after. So maybe some of the other options have the same issue.