Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/bootstrap/src/core/config/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ fn normalize_args(args: &[String]) -> Vec<String> {

#[derive(Debug, Clone, clap::Subcommand)]
pub enum Subcommand {
#[command(aliases = ["b"], long_about = "\n
#[command(visible_aliases = ["b"], long_about = "\n
Arguments:
This subcommand accepts a number of paths to directories to the crates
and/or artifacts to compile. For example, for a quick build of a usable
Expand All @@ -261,7 +261,7 @@ pub enum Subcommand {
/// Pass `--timings` to Cargo to get crate build timings
timings: bool,
},
#[command(aliases = ["c"], long_about = "\n
#[command(visible_aliases = ["c"], long_about = "\n
Arguments:
This subcommand accepts a number of paths to directories to the crates
and/or artifacts to compile. For example:
Expand Down Expand Up @@ -330,7 +330,7 @@ pub enum Subcommand {
#[arg(long)]
all: bool,
},
#[command(aliases = ["d"], long_about = "\n
#[command(visible_aliases = ["d"], long_about = "\n
Arguments:
This subcommand accepts a number of paths to directories of documentation
to build. For example:
Expand All @@ -351,7 +351,7 @@ pub enum Subcommand {
/// render the documentation in JSON format in addition to the usual HTML format
json: bool,
},
#[command(aliases = ["t"], long_about = "\n
#[command(visible_aliases = ["t"], long_about = "\n
Arguments:
This subcommand accepts a number of paths to test directories that
should be compiled and run. For example:
Expand Down Expand Up @@ -476,7 +476,7 @@ pub enum Subcommand {
Dist,
/// Install distribution artifacts
Install,
#[command(aliases = ["r"], long_about = "\n
#[command(visible_aliases = ["r"], long_about = "\n
Arguments:
This subcommand accepts a number of paths to tools to build and run. For
example:
Expand Down
204 changes: 204 additions & 0 deletions src/etc/completions/x.fish

Large diffs are not rendered by default.

239 changes: 239 additions & 0 deletions src/etc/completions/x.ps1

Large diffs are not rendered by default.

204 changes: 204 additions & 0 deletions src/etc/completions/x.py.fish

Large diffs are not rendered by default.

239 changes: 239 additions & 0 deletions src/etc/completions/x.py.ps1

Large diffs are not rendered by default.

1,181 changes: 1,079 additions & 102 deletions src/etc/completions/x.py.sh

Large diffs are not rendered by default.

249 changes: 249 additions & 0 deletions src/etc/completions/x.py.zsh

Large diffs are not rendered by default.

1,181 changes: 1,079 additions & 102 deletions src/etc/completions/x.sh

Large diffs are not rendered by default.

249 changes: 249 additions & 0 deletions src/etc/completions/x.zsh

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/etc/xhelp
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
Usage: x.py <subcommand> [options] [<paths>...]

Commands:
build Compile either the compiler or libraries
check Compile either the compiler or libraries, using cargo check
build Compile either the compiler or libraries [aliases: b]
check Compile either the compiler or libraries, using cargo check [aliases: c]
clippy Run Clippy (uses rustup/cargo-installed clippy binary)
fix Run cargo fix
fmt Run rustfmt
doc Build documentation
test Build and run some test suites
doc Build documentation [aliases: d]
test Build and run some test suites [aliases: t]
miri Build and run some test suites *in Miri*
bench Build and run some benchmarks
clean Clean out build directories
dist Build distribution artifacts
install Install distribution artifacts
run Run tools contained in this repository
run Run tools contained in this repository [aliases: r]
setup Set up the environment for development
vendor Vendor dependencies
perf Perform profiling and benchmarking of the compiler using `rustc-perf`
Expand Down
Loading