Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maze: options before arguments (#516)
* The usage string is the source of truth; optional maze algorithm flag goes before optional width and height arguments * Remove the grep that reconstructs ARGV with options removed; this allowed incorrect usage "perl maze 20 30 -sf" to be accepted
- Loading branch information
Showing
1 changed file
with
12 additions
and
18 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