Skip to content

Commit b4a480f

Browse files
authored
Change update --outdated flag to --show-outdated (#884)
1 parent 5f708cd commit b4a480f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: cli/update/update.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func NewCommand() *cobra.Command {
4242
Args: cobra.NoArgs,
4343
Run: runUpdateCommand,
4444
}
45-
updateCommand.Flags().BoolVar(&updateFlags.showOutdated, "outdated", false, "Show outdated cores and libraries after index update")
45+
updateCommand.Flags().BoolVar(&updateFlags.showOutdated, "show-outdated", false, "Show outdated cores and libraries after index update")
4646
return updateCommand
4747
}
4848

Diff for: test/test_update.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_update_showing_outdated(run_command):
3838
assert run_command("lib install ArduinoJson")
3939

4040
# Verifies outdated cores and libraries are printed after updating indexes
41-
result = run_command("update --outdated")
41+
result = run_command("update --show-outdated")
4242
assert result.ok
4343
lines = [l.strip() for l in result.stdout.splitlines()]
4444

0 commit comments

Comments
 (0)