hydrogen-music / hydrogen

The advanced drum machine for Linux, macOS, and Windows
http://www.hydrogen-music.org
GNU General Public License v2.0
1.06k stars 173 forks source link

add --config CLI option #1987

Closed theGreatWhiteShark closed 4 months ago

theGreatWhiteShark commented 4 months ago

to load and use a different user-level hydrogen.conf file (of arbitrary name).

At first I thought the JACK integration test broke again. But it turned out my local hydrogen.conf file leaked into its setup and now with different parameter it stopped working. To avoid such problem in the future, both hydrogen and h2cli are now able to use config file provided via CLI.