shflags
shflags copied to clipboard
Add ability to mark options as required
There isn't currently any way to mark a flag as required for operation of the
program. It would be nice to have a uniform way for a flag to be marked as
required.
What version of the product are you using? On what operating system?
shflags-1.0.3.tgz, Centos 5.4 and archlinux
Original issue reported on code.google.com by BostonVaulter on 15 Jul 2010 at 3:47
Original comment by [email protected] on 6 Jan 2013 at 4:37
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
Yes - this would be great. Any progress?
+1000 on this feature. shflags has been great to me, and this feature is about the only thing I miss.
:+1: Maybe a sensible approach would be to have shflags complain on execution if a default value is not passed. Or alternatively introduce something like DEFINE_string_required.