diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-27 02:06:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-27 02:06:08 +0000 |
commit | 42e540b79196a68bc9f9d429b16c82d044d89da7 (patch) | |
tree | a6d937619e6acef0aef0197310182d310fcfd1c3 /lib/un.rb | |
parent | c0d452fd3587af203613acb103833c0884035240 (diff) | |
download | ruby-42e540b79196a68bc9f9d429b16c82d044d89da7.tar.gz ruby-42e540b79196a68bc9f9d429b16c82d044d89da7.tar.xz ruby-42e540b79196a68bc9f9d429b16c82d044d89da7.zip |
* lib/un.rb (wait_writable): added help message.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/un.rb')
-rw-r--r-- | lib/un.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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| |