restic / rest-server

Rest Server is a high performance HTTP server that implements restic's REST backend API.
BSD 2-Clause "Simplified" License
922 stars 138 forks source link

Error out on unexpected command line argument #207

Closed MichaelEischer closed 1 year ago

MichaelEischer commented 1 year ago

What is the purpose of this change? What does it change?

rest-server doesn't accept arguments. Thus, error out to prevent wrong usage.

Was the change discussed in an issue or in the forum before?

Fixes https://github.com/restic/rest-server/issues/206

Checklist

MichaelEischer commented 1 year ago

I've changed the changelog entry type to "Change" as it is more of a breaking change than a bugfix.