From db6d65487a755194f68eb3f85fa3ccc9ee3ae029 Mon Sep 17 00:00:00 2001 From: Cristian Dominguez Date: Tue, 17 May 2022 18:39:01 -0300 Subject: [PATCH] fix: make devhub flag optional --- src/commands/force/user/display.ts | 2 +- src/commands/force/user/password/generate.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/force/user/display.ts b/src/commands/force/user/display.ts index 67dc10f8..58bcf856 100644 --- a/src/commands/force/user/display.ts +++ b/src/commands/force/user/display.ts @@ -29,7 +29,7 @@ export class UserDisplayCommand extends SfdxCommand { public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessage('examples').split(os.EOL); public static readonly requiresUsername = true; - public static readonly requiresDevhubUsername = true; + public static readonly supportsDevhubUsername = true; public async run(): Promise { this.logger = await Logger.child(this.constructor.name); diff --git a/src/commands/force/user/password/generate.ts b/src/commands/force/user/password/generate.ts index 640f95e6..5db4833d 100644 --- a/src/commands/force/user/password/generate.ts +++ b/src/commands/force/user/password/generate.ts @@ -21,7 +21,7 @@ export class UserPasswordGenerateCommand extends SfdxCommand { public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessage('examples').split(os.EOL); public static readonly requiresUsername = true; - public static readonly requiresDevhubUsername = true; + public static readonly supportsDevhubUsername = true; public static readonly flagsConfig: FlagsConfig = { onbehalfof: flags.array({ char: 'o',