aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
Diffstat (limited to 'guides')
-rw-r--r--guides/source/command_line.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/command_line.md b/guides/source/command_line.md
index 6f5a6b7957..d153e0bfa6 100644
--- a/guides/source/command_line.md
+++ b/guides/source/command_line.md
@@ -526,8 +526,8 @@ end
To pass arguments to your custom rake task:
```ruby
-task :task_name, [:arg_1] => [:pre_1, :pre_2] do |t, args|
- # You can use args from here
+task :task_name, [:arg_1] => [:prerequisite_1, :prerequisite_2] do |task, args|
+ argument_1 = args.arg_1
end
```