Skip to content

Commit

Permalink
Update command notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgedevs committed Sep 29, 2023
1 parent ca0ad09 commit 8b55509
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 8b55509

Please sign in to comment.