anoved / Shapetcl

Simple shapefile access for Tcl.
MIT License
3 stars 0 forks source link

Write a check-for-flag util for parsing objv options #22

Closed anoved closed 11 years ago

anoved commented 11 years ago

I would like to add option switches to a few commands. Rather than check for them in an ad hoc manner, it would be nice to have a straightforward convenience function to check if a given flag is present in the arguments. The kicker is, if so, it would be ideal to remove it so that subsequent argument checking can proceed unmodified.