devel/rubygem-getoptlong 0.2.1 DragonFly
GetoptLong for Ruby
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD2CLAUSE, RUBY
- Categories
- devel, rubygems
- Package size
- 10.9 KiB, 35.1 KiB installed
Description
The GetoptLong class allows you to parse command line options similarly to the GNU getopt_long() C library call. Note, however, that GetoptLong is a pure Ruby implementation.
GetoptLong allows for POSIX-style options like --file as well as single letter options like -f
The empty option -- (two minus symbols) is used to end option processing. This can be particularly important if options have optional arguments.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/rubygem-getoptlong | 0.2.1 |
| FreeBSD | devel/rubygem-getoptlong | 0.2.1 |
| MidnightBSD | devel/rubygem-getoptlong | 0.2.1 |
| HardenedBSD | devel/rubygem-getoptlong | 0.2.1 |
| GhostBSD | devel/rubygem-getoptlong | 0.2.1 |
| OPNsense | devel/rubygem-getoptlong | 0.2.1 |
Install
Binary package:
pkg install rubygem-getoptlong
From DPorts:
cd /usr/dports/devel/rubygem-getoptlong && make install clean
Dependencies
Run dependencies 2
No port depends on this one.