-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat: show line number when Option marked as Invalid (closes #2) * use enumerate() to store the line number * code cleanup thanks to @Jammyjamjamman * add test for invalid option (closes #2) * update ChangeLog * fix clippy warnings
- Loading branch information
Showing
3 changed files
with
41 additions
and
38 deletions.
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# configster ChangeLog | ||
|
||
* Add get_ver() function. Returns a String containing the library version. | ||
* When an invalid option is encountered, 'InvalidOption_on_Linexx' is | ||
assigned to the option (instead of 'InvalidOption'). | ||
|
||
* Added get_ver() function. Returns a String containing the library version. |
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 |
---|---|---|
|
@@ -3,3 +3,6 @@ option = Blue, light, shiny | |
max_users = 30 | ||
|
||
DelayOff | ||
|
||
# Test for invalid option | ||
Hello World = bad option |
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