Skip to content

Commit

Permalink
fix(cli/rustup-mode)!: change rustup doc --error_codes to `--error-…
Browse files Browse the repository at this point in the history
…codes`
  • Loading branch information
rami3l committed Jan 4, 2025
1 parent ef631dc commit 424407e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1448,8 +1448,6 @@ docs_data![
(core, "The Rust Core Library", "core/index.html"),
(edition_guide, "The Rust Edition Guide", "edition-guide/index.html"),
(embedded_book, "The Embedded Rust Book", "embedded-book/index.html"),

#[arg(long = "error_codes")]
(error_codes, "The Rust Error Codes Index", "error_codes/index.html"),

(nomicon, "The Dark Arts of Advanced and Unsafe Rust Programming", "nomicon/index.html"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Options:
--core The Rust Core Library
--edition-guide The Rust Edition Guide
--embedded-book The Embedded Rust Book
--error_codes The Rust Error Codes Index
--error-codes The Rust Error Codes Index
--nomicon The Dark Arts of Advanced and Unsafe Rust Programming
--proc_macro A support library for macro authors when defining new macros
--reference The Rust Reference
Expand Down

0 comments on commit 424407e

Please sign in to comment.