Skip to content

Commit 85a9e0f

Browse files
authored
Merge pull request #71 from salesforcecli/ew/fix-docs
Correct examples on run
2 parents 8bd1361 + b6d8b28 commit 85a9e0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

messages/run.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ Path to a local file that contains Apex code.
1717

1818
- Execute the Apex code that's in the ~/test.apex file in the org with the specified username:
1919

20-
<%= config.bin %> <%= command.id %> --target-org testusername@salesforce.org --apex-code-file ~/test.apex
20+
<%= config.bin %> <%= command.id %> --target-org testusername@salesforce.org --file ~/test.apex
2121

2222
- Similar to previous example, but execute the code in your default org:
2323

24-
<%= config.bin %> <%= command.id %> --apex-code-file ~/test.apex
24+
<%= config.bin %> <%= command.id %> --file ~/test.apex
2525

2626
- Run the command with no flags to start interactive mode; the code will execute in your default org when you exit. At the prompt, start type Apex code and press the Enter key after each line. Press CTRL+D when finished.
2727

0 commit comments

Comments
 (0)