diff --git a/cmd/soroban-cli/Cargo.toml b/cmd/soroban-cli/Cargo.toml index db5cd3c3e0..34d1def82e 100644 --- a/cmd/soroban-cli/Cargo.toml +++ b/cmd/soroban-cli/Cargo.toml @@ -96,10 +96,7 @@ cargo_metadata = "0.15.4" pathdiff = "0.2.1" dotenvy = "0.15.7" directories = { workspace = true } -# For unique identifiers -ulid.workspace = true -# For unique identifiers -ulid.features = ["serde"] +ulid = { workspace = true, features = ["serde"] } strum = "0.17.1" strum_macros = "0.17.1" gix = { version = "0.58.0", default-features = false, features = [ diff --git a/cmd/soroban-cli/src/commands/cache/read.rs b/cmd/soroban-cli/src/commands/cache/read.rs index 9ac3284366..21340e12e8 100644 --- a/cmd/soroban-cli/src/commands/cache/read.rs +++ b/cmd/soroban-cli/src/commands/cache/read.rs @@ -27,8 +27,8 @@ pub enum Error { #[group(skip)] pub struct Cmd { /// ULID of the cache entry - #[arg(long, visible_alias = "id")] - ulid: String, + #[arg(long)] + id: String, #[arg(long)] output: Option, } diff --git a/cmd/soroban-cli/src/commands/config/data.rs b/cmd/soroban-cli/src/commands/config/data.rs index 93bab46dd3..4510654347 100644 --- a/cmd/soroban-cli/src/commands/config/data.rs +++ b/cmd/soroban-cli/src/commands/config/data.rs @@ -9,7 +9,7 @@ use crate::xdr::{self, WriteXdr}; #[derive(thiserror::Error, Debug)] pub enum Error { #[error("Failed to find project directories")] - FiledToFindProjectDirs, + FailedToFindProjectDirs, #[error(transparent)] Io(#[from] std::io::Error), #[error(transparent)] @@ -27,7 +27,7 @@ pub const XDG_DATA_HOME: &str = "XDG_DATA_HOME"; pub fn project_dir() -> Result { std::env::var(XDG_DATA_HOME) .map_or_else( - |_| ProjectDirs::from("com", "stellar", "soroban-cli"), + |_| ProjectDirs::from("com", "stellar", "stellar-cli"), |data_home| ProjectDirs::from_path(std::path::PathBuf::from(data_home)), ) .ok_or(Error::FiledToFindProjectDirs)