rocketraman / sane-scan-pdf

Sane command-line scan-to-pdf script on Linux with OCR and deskew support
MIT License
141 stars 28 forks source link

Parse argument for --language #3

Closed artjomsimon closed 5 years ago

artjomsimon commented 5 years ago

@rocketraman thank you so much for making this open source, this saves me hours of work!

This PR fixes a minor thing: Before this commit, scan --language deu will exit with Unknown argument: deu This commit fixes a forgotten "shift;" in order to parse the argument provided after --language.

rocketraman commented 5 years ago

Thanks for the fix @artjomsimon !