Error out on unexpected command line argument

rest-server doesn't accept arguments. Thus, error out to prevent wrong
usage.
This commit is contained in:
Michael Eischer
2023-01-07 23:36:20 +01:00
parent a8cd3f218d
commit 43c96fb6f2
2 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
Change: Return error if command-line arguments are specified
The rest-server ignores command-line arguments. To prevent usage errors it not fails with an error instead of silently ignoring the arguments.
https://github.com/restic/rest-server/pull/207