From 5f7ac53e922cc061ad392116bba4c002b452d17b Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Thu, 30 Jul 2020 17:52:55 +0200 Subject: [PATCH] Change update --outdated flag to --show-outdated --- cli/update/update.go | 2 +- test/test_update.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/update/update.go b/cli/update/update.go index 42b6280ba93..f4245fea9b6 100644 --- a/cli/update/update.go +++ b/cli/update/update.go @@ -42,7 +42,7 @@ func NewCommand() *cobra.Command { Args: cobra.NoArgs, Run: runUpdateCommand, } - updateCommand.Flags().BoolVar(&updateFlags.showOutdated, "outdated", false, "Show outdated cores and libraries after index update") + updateCommand.Flags().BoolVar(&updateFlags.showOutdated, "show-outdated", false, "Show outdated cores and libraries after index update") return updateCommand } diff --git a/test/test_update.py b/test/test_update.py index 84b547e3784..d08580e7666 100644 --- a/test/test_update.py +++ b/test/test_update.py @@ -38,7 +38,7 @@ def test_update_showing_outdated(run_command): assert run_command("lib install ArduinoJson") # Verifies outdated cores and libraries are printed after updating indexes - result = run_command("update --outdated") + result = run_command("update --show-outdated") assert result.ok lines = [l.strip() for l in result.stdout.splitlines()]