-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error out on unexpected command line argument
rest-server doesn't accept arguments. Thus, error out to prevent wrong usage.
- Loading branch information
1 parent
a8cd3f2
commit 43c96fb
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters