diff --git a/CHANGELOG.md b/CHANGELOG.md index dd3ede7c6..a425d4125 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,11 +69,20 @@ ```toml [dependencies] - my_package = { git = "https://github.com/example/monorepo", ref = "main", path = "packages/my_package" } + my_package = { + git = "https://github.com/example/monorepo", + ref = "main", + path = "packages/my_package", + } ``` ([John Downey](https://github.com/jtdowney)) +- The `gleam hex owner transfer` command now uses the flag `--user` instead of + the flag `--to`. The `gleam hex owner add` command now takes the package name + via the flag `--package`. + ([Louis Pilfold](https://github.com/lpil)) + ### Language server - The language server now supports go-to-definition, find-references and rename diff --git a/compiler-cli/src/lib.rs b/compiler-cli/src/lib.rs index 137dafda5..b3fbc972d 100644 --- a/compiler-cli/src/lib.rs +++ b/compiler-cli/src/lib.rs @@ -836,6 +836,7 @@ pub enum Owner { /// #[command(verbatim_doc_comment)] Add { + #[arg(long)] package: String, /// The username or email of the additional owner @@ -860,7 +861,7 @@ pub enum Owner { package: String, /// The username or email of the new owner - #[arg(long = "to")] + #[arg(long = "user")] username_or_email: String, }, }