From e8e697d2357beabea2c5d3fadccc682c9d5343fb Mon Sep 17 00:00:00 2001 From: Simon COURTOIS Date: Sat, 11 Aug 2012 22:20:11 +0300 Subject: [PATCH] Fixing a typo in FileUtils#ln_sf documentation The `FileUtils#ln_sf` documentation indicates that calling it is the same as calling `ln_s(src, dest, :force)` which is wrong. This commit fixes it by replacing `:force` with `:force => true`. --- lib/fileutils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 1303b963fe2b16..67cc79f02fdd70 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -435,7 +435,7 @@ def ln_s(src, dest, options = {}) # Options: noop verbose # # Same as - # #ln_s(src, dest, :force) + # #ln_s(src, dest, :force => true) # def ln_sf(src, dest, options = {}) fu_check_options options, OPT_TABLE['ln_sf']