Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit is intended to improve readability by: - introducing an abort function for writing an error message to standard error then exiting with exit code 1; - storing options in an associative array rather than in separate variables; and - validating command-line arguments against the aforementioned associative array (to avoid enumerating all the options).
- Loading branch information
1 parent
b4481b6
commit 141d5ad
Showing
2 changed files
with
61 additions
and
44 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
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