Skip to content

Commit

Permalink
Create flag-compatible infrastructure
Browse files Browse the repository at this point in the history
Adds infrastructure to become flag-compatible with existing rustdoc.
There are a few general buckets a flag falls into:

1. Flag stays the same
2. Flag is no longer supported in the new rustdoc
3. Flag has moved (usually under a subcommand)

Most flags have still not been implemented and they will say so. Also,
some flags are in a limbo state where they are probably going to be
unsupported in the future. Until that decision has been declared, they
are marked as unimplemented.

BREAKING: This change moves `-o` from open flag to output flag.
  • Loading branch information
hjr3 authored and steveklabnik committed Dec 31, 2017
1 parent 477d8bf commit 1af1a22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ fn run() -> Result<()> {

match matches.subcommand() {
("build", Some(matches)) => {

// FIXME: Workaround for clap #1056. Use `.default_value()` once the issue is fixed.
let artifacts: Vec<&str> = matches
.values_of("artifacts")
Expand Down

0 comments on commit 1af1a22

Please sign in to comment.