Skip to content

Commit 0b117ba

Browse files
fix: edit messages for sf-ied user commands
1 parent df3527a commit 0b117ba

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

messages/create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ For more information about user limits, defaults, and other considerations when
2525

2626
<%= config.bin %> <%= command.id %>
2727

28-
- Create a user with alias "testuser1" using a user definition file. Set the "profileName" option to "Chatter Free User", which overrides the value in the defintion file if it also exists there:
28+
- Create a user with alias "testuser1" using a user definition file. Set the "profileName" option to "Chatter Free User", which overrides the value in the defintion file if it also exists there. Create the user for the scratch org with alias "my-scratch":
2929

30-
<%= config.bin %> <%= command.id %> --set-alias testuser1 --definition-file config/project-user-def.json profileName='Chatter Free User'
30+
<%= config.bin %> <%= command.id %> --set-alias testuser1 --definition-file config/project-user-def.json profileName='Chatter Free User' --target-org my-scratch
3131

3232
- Create a user by specifying the username, email, and perm set assignment at the command line; command fails if the username already exists in Salesforce:
3333

messages/display.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
# summary
22

3-
displays information about a user of a scratch org
3+
Display information about a Salesforce user.
44

55
# description
66

77
Output includes the profile name, org ID, access token, instance URL, login URL, and alias if applicable.
88

99
# examples
1010

11-
- <%= config.bin %> <%= command.id %>
12-
- <%= config.bin %> <%= command.id %> -u me@my.org --json
11+
- Display information about the admin user of your default scratch org:
12+
13+
<%= config.bin %> <%= command.id %>
14+
15+
- Display information about the specified user and output in JSON format:
16+
17+
<%= config.bin %> <%= command.id %> --target-org me@my.org --json
1318

1419
# securityWarning
1520

16-
This command will expose sensitive information that allows for subsequent activity using your current authenticated
17-
session.
18-
Sharing this information is equivalent to logging someone in under the current credential, resulting in unintended
19-
access and escalation of privilege.
20-
For additional information, please review the authorization section of
21+
This command exposes sensitive information that allows for subsequent activity using your current authenticated session.
22+
Sharing this information is equivalent to logging someone in under the current credential, resulting in unintended access and escalation of privilege.
23+
For additional information, review the authorization section of
2124
the https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_web_flow.htm
2225

2326
# flags.target-hub.deprecation
2427

25-
The --target-dev-hub flag is deprecated and is not being used in this command. The flag will be removed in v57 or later.
28+
The --target-dev-hub flag is deprecated and is no longer used by this command. The flag will be removed in API version 57.0 or later.

messages/list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# summary
22

3-
list all authenticated users of an org
3+
List all authenticated users of an org
44

55
# description
66

@@ -18,4 +18,4 @@ Username or alias of the Dev Hub org.
1818

1919
# flags.target-hub.deprecation
2020

21-
The --target-dev-hub flag is deprecated and is not being used in this command. The flag will be removed in v57 or later.
21+
The --target-dev-hub flag is deprecated and is no longer used by this command. The flag will be removed in API version 57.0 or later.

messages/password.generate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ separate by a space.
8686

8787
# flags.target-hub.deprecation
8888

89-
The --target-dev-hub flag is deprecated and is not being used in this command. The flag will be removed in v57 or later.
89+
The --target-dev-hub flag is deprecated and is no longer used by this command. The flag will be removed in API version 57.0 or later.

0 commit comments

Comments
 (0)