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: 9 additions & 1 deletion crates/moon/src/cli/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ use moonutil::{
mooncakes::{sync::AutoSyncFlags, RegistryConfig},
package::Package,
};
use tracing::warn;

use crate::{
cli::BuildFlags,
Expand All @@ -53,7 +54,10 @@ pub struct InfoSubcommand {
pub auto_sync_flags: AutoSyncFlags,

/// Do not use alias to shorten package names in the output
#[clap(long)]
///
/// Deprecated: this has been created for AI stuff, and doesn't seem to be
/// used recently.
#[clap(long, hide = true)]
pub no_alias: bool,

#[clap(skip)]
Expand All @@ -70,6 +74,10 @@ pub struct InfoSubcommand {
}

pub fn run_info(cli: UniversalFlags, cmd: InfoSubcommand) -> anyhow::Result<i32> {
if cmd.no_alias {
warn!("`--no-alias` will be removed soon. See: https://github.com/moonbitlang/moon/issues/1092");
}

if cli.unstable_feature.rupes_recta {
run_info_rr(cli, cmd)
} else {
Expand Down
1 change: 0 additions & 1 deletion docs/manual-zh/src/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ Generate public interface (`.mbti`) files for all packages in the module
###### **Options:**

* `--frozen` — Do not sync dependencies, assuming local dependencies are up-to-date
* `--no-alias` — Do not use alias to shorten package names in the output
* `--target <TARGET>` — Select output target

Possible values: `wasm`, `wasm-gc`, `js`, `native`, `llvm`, `all`
Expand Down
1 change: 0 additions & 1 deletion docs/manual/src/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ Generate public interface (`.mbti`) files for all packages in the module
###### **Options:**

* `--frozen` — Do not sync dependencies, assuming local dependencies are up-to-date
* `--no-alias` — Do not use alias to shorten package names in the output
* `--target <TARGET>` — Select output target

Possible values: `wasm`, `wasm-gc`, `js`, `native`, `llvm`, `all`
Expand Down
Loading