Skip to content

Commit 4238a6b

Browse files
committed
Fix up name precedence
1 parent d415f57 commit 4238a6b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

unison-cli/src/Unison/CommandLine/InputPatterns.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3431,7 +3431,7 @@ upgrade :: InputPattern
34313431
upgrade =
34323432
InputPattern
34333433
{ patternName = "lib.upgrade",
3434-
aliases = ["upgrade", "upgrade.lib"],
3434+
aliases = ["upgrade.lib", "upgrade"],
34353435
visibility = I.Visible,
34363436
params =
34373437
Parameters [("dependency to upgrade", dependencyArg), ("dependency to upgrade to", dependencyArg)] $

unison-src/transcripts/idempotent/help.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@
503503
`io.test.all` runs unit tests for the current branch that use
504504
IO
505505
506-
lib.install (or install.lib)
506+
lib.install (or install.lib, install)
507507
The `lib.install` command installs a dependency into the `lib`
508508
namespace.
509509
@@ -573,6 +573,10 @@
573573
at
574574
`lib.myproject_dev`
575575
576+
lib.upgrade (or upgrade.lib, upgrade)
577+
`upgrade old new` upgrades library dependency `lib.old` to
578+
`lib.new`, and, if successful, deletes `lib.old`.
579+
576580
list (or ls, dir)
577581
`list` lists definitions and namespaces in the current
578582
namespace.
@@ -964,10 +968,6 @@
964968
the dependents will be added back to the scratch file for your
965969
review.
966970
967-
upgrade
968-
`upgrade old new` upgrades library dependency `lib.old` to
969-
`lib.new`, and, if successful, deletes `lib.old`.
970-
971971
version
972972
Print the version of unison you're running
973973

0 commit comments

Comments
 (0)