From 3d5cfe9a3211de22c959ae39ecabb61f230c52b4 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 27 Jun 2008 02:06:08 +0000 Subject: [PATCH] * lib/un.rb (wait_writable): added help message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ lib/un.rb | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index f7625c1dc8..dd8b75809d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Jun 27 11:06:05 2008 Nobuyoshi Nakada + + * lib/un.rb (wait_writable): added help message. + Fri Jun 27 06:52:54 2008 Koichi Sasada * configure.in: need a ",". diff --git a/lib/un.rb b/lib/un.rb index 4512c83181..ee40d36d62 100644 --- a/lib/un.rb +++ b/lib/un.rb @@ -19,6 +19,7 @@ # ruby -run -e install -- [OPTION] SOURCE DEST # ruby -run -e chmod -- [OPTION] OCTAL-MODE FILE # ruby -run -e touch -- [OPTION] FILE +# ruby -run -e wait_writable -- [OPTION] FILE # ruby -run -e help [COMMAND] require "fileutils" @@ -218,6 +219,10 @@ end # # ruby -run -e wait_writable -- [OPTION] FILE # +# -n RETRY count to retry +# -w SEC each wait time in seconds +# -v verbose +# def wait_writable setup("n:w:v") do |argv, options|