Skip to content

Commit ca36495

Browse files
authored
Merge pull request #697 from salesforcecli/js/fix-examples
fix: small fixes to --help examples
2 parents e43cf7b + ed2d590 commit ca36495

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

messages/create_scratch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ You must specify a Dev Hub to create a scratch org, either with the --target-dev
2424

2525
- Create a Developer edition scratch org using your default Dev Hub and give the scratch org an alias:
2626

27-
<%= config.bin %> <%= command.id %> --edition=developer --alias my-scratch-org
27+
<%= config.bin %> <%= command.id %> --edition developer --alias my-scratch-org
2828

2929
- Create a scratch org with a definition file. Specify the Dev Hub using its alias, set the scratch org as your default, and specify that it expires in 3 days:
3030

3131
<%= config.bin %> <%= command.id %> --target-dev-hub MyHub --definition-file config/project-scratch-def.json --set-default --duration-days 3
3232

3333
- Create a preview Enterprise edition scratch org; for use only during Salesforce release transition periods:
3434

35-
<%= config.bin %> <%= command.id %> --edition=enterprise --alias my-scratch-org --target-dev-hub MyHub --release preview
35+
<%= config.bin %> <%= command.id %> --edition enterprise --alias my-scratch-org --target-dev-hub MyHub --release preview
3636

3737
# flags.target-hub.summary
3838

messages/delete_sandbox.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Specify a sandbox with either the username you used when you logged into it, or
1111

1212
- Delete a sandbox with alias my-sandbox:
1313

14-
<%= config.bin %> <%= command.id %> --target-org=my-sandbox
14+
<%= config.bin %> <%= command.id %> --target-org my-sandbox
1515

1616
- Specify a username instead of an alias:
1717

18-
<%= config.bin %> <%= command.id %> --target-org=[email protected]
18+
<%= config.bin %> <%= command.id %> --target-org [email protected]
1919

2020
- Delete the sandbox without prompting to confirm :
2121

22-
<%= config.bin %> <%= command.id %> --target-org=my-sandbox --no-prompt
22+
<%= config.bin %> <%= command.id %> --target-org my-sandbox --no-prompt
2323

2424
# flags.target-org.summary
2525

messages/delete_scratch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Specify a scratch org with either the username or the alias you gave the scratch
1111

1212
- Delete a scratch org with alias my-scratch-org:
1313

14-
<%= config.bin %> <%= command.id %> --target-org=my-scratch-org
14+
<%= config.bin %> <%= command.id %> --target-org my-scratch-org
1515

1616
- Specify a username instead of an alias:
1717

18-
<%= config.bin %> <%= command.id %> --target-org=[email protected]
18+
<%= config.bin %> <%= command.id %> --target-org [email protected]
1919

2020
- Delete the scratch org without prompting to confirm :
2121

22-
<%= config.bin %> <%= command.id %> --target-org=my-scratch-org --no-prompt
22+
<%= config.bin %> <%= command.id %> --target-org my-scratch-org --no-prompt
2323

2424
# flags.target-org.summary
2525

0 commit comments

Comments
 (0)