Skip to content

Commit

Permalink
Merge pull request #361 from WildernessLabs/command-notes
Browse files Browse the repository at this point in the history
Update command notes
  • Loading branch information
jorgedevs authored Sep 29, 2023
2 parents ca0ad09 + 19666fb commit 502ed35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/v2/Meadow.Cli/Commands/Legacy/InstallDfuCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

namespace Meadow.CLI.Commands.DeviceManagement;

[Command("install dfu", Description = "** deprecated **")]
[Command("install dfu", Description = "** Deprecated ** Use `dfu install` instead")]
public class InstallDfuCommand : DfuInstallCommand
{
public InstallDfuCommand(ISettingsManager settingsManager, ILoggerFactory loggerFactory)
: base(settingsManager, loggerFactory, "0.11")
{
Logger.LogWarning($"Deprecated command. Use `runtime enable` instead");
Logger.LogWarning($"Deprecated command. Use `dfu install` instead");
}
}

2 changes: 1 addition & 1 deletion Source/v2/Meadow.Cli/Commands/Legacy/MonoDisableCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Meadow.CLI.Commands.DeviceManagement;

[Command("mono disable", Description = "** deprecated **")]
[Command("mono disable", Description = "** Deprecated ** Use `runtime disable` instead")]
public class MonoDisableCommand : RuntimeDisableCommand
{
public MonoDisableCommand(MeadowConnectionManager connectionManager, ILoggerFactory loggerFactory)
Expand Down
2 changes: 1 addition & 1 deletion Source/v2/Meadow.Cli/Commands/Legacy/MonoEnableCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Meadow.CLI.Commands.DeviceManagement;

[Command("mono enable", Description = "** deprecated **")]
[Command("mono enable", Description = "** Deprecated ** Use `runtime enable` instead")]
public class MonoEnableCommand : RuntimeEnableCommand
{
public MonoEnableCommand(MeadowConnectionManager connectionManager, ILoggerFactory loggerFactory)
Expand Down

0 comments on commit 502ed35

Please sign in to comment.