Skip to content

Commit 75e287e

Browse files
committed
PR feedback + better string
1 parent 9ed914c commit 75e287e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AppInstallerCLICore/Commands/DscAdminSettingsResource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace AppInstaller::CLI
77
{
8-
// A resource for managing source configuration.
8+
// A resource for managing admin settings.
99
struct DscAdminSettingsResource : public DscCommandBase
1010
{
1111
DscAdminSettingsResource(std::string_view parent);

src/AppInstallerCLICore/Commands/SettingsCommand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ namespace AppInstaller::CLI
188188
{
189189
if (execArgs.Contains(Execution::Args::Type::SettingName))
190190
{
191-
throw CommandException(Resource::String::InvalidArgumentSpecifierError(ArgumentCommon::ForType(Execution::Args::Type::SettingName).Name));
191+
throw CommandException(Resource::String::MultipleExclusiveArgumentsProvided("all|setting"_liv));
192192
}
193193

194194
return;

0 commit comments

Comments
 (0)