MusicPlayerDaemon / mpc

Command-line client for MPD
GNU General Public License v2.0
191 stars 36 forks source link

mpc 0.35 --no-status returns "Unknown option = (null)" #108

Open c-markwell opened 8 months ago

c-markwell commented 8 months ago

Running mpc 0.35 (compiled from source on Raspberry Pi OS based on Debian 12) with the --no-status command returns the following:

$ mpc --no-status Unknown option = (null)

Note that there's two spaces between "option" and the equal sign.

The --quiet option works as expected.

mpc --no-status returns status 1, whereas mpc --quiet returns status 0.

Thanks very much for your work on mpd.

RensOliemans commented 2 months ago

Confirmed, git bisect tells me that it's present since 806ba2edd7e116fda1036294ecab25fe21375db3. Fix is in #112.