rust-lang/getopts

The getopts repo maintained by the rust-lang project

Rust

250

221 commits

updated Jul 17, 2026

See the code

README

getopts

A Rust library for option parsing for CLI utilities.

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
getopts = "0.2"

Contributing

The getopts library is used by rustc, so we have to be careful about not changing its behavior.

Contributors

(top 30 of 45)

alexcrichton

88 commits

KodrAus

21 commits

ltratt

12 commits

tromey

9 commits

rust-lang/getopts

The getopts repo maintained by the rust-lang project

Rust

250

221 commits

updated Jul 17, 2026

See the code

README

getopts

A Rust library for option parsing for CLI utilities.

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
getopts = "0.2"

Contributing

The getopts library is used by rustc, so we have to be careful about not changing its behavior.

Contributors

(top 30 of 45)

alexcrichton

88 commits

KodrAus

21 commits

ltratt

12 commits

tromey

9 commits

Languages

Rust

100.0%