зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
285066dd0b
Коммит
3d5cfe9a32
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Jun 27 11:06:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/un.rb (wait_writable): added help message.
|
||||||
|
|
||||||
Fri Jun 27 06:52:54 2008 Koichi Sasada <ko1@atdot.net>
|
Fri Jun 27 06:52:54 2008 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* configure.in: need a ",".
|
* configure.in: need a ",".
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
# ruby -run -e install -- [OPTION] SOURCE DEST
|
# ruby -run -e install -- [OPTION] SOURCE DEST
|
||||||
# ruby -run -e chmod -- [OPTION] OCTAL-MODE FILE
|
# ruby -run -e chmod -- [OPTION] OCTAL-MODE FILE
|
||||||
# ruby -run -e touch -- [OPTION] FILE
|
# ruby -run -e touch -- [OPTION] FILE
|
||||||
|
# ruby -run -e wait_writable -- [OPTION] FILE
|
||||||
# ruby -run -e help [COMMAND]
|
# ruby -run -e help [COMMAND]
|
||||||
|
|
||||||
require "fileutils"
|
require "fileutils"
|
||||||
|
@ -218,6 +219,10 @@ end
|
||||||
#
|
#
|
||||||
# ruby -run -e wait_writable -- [OPTION] FILE
|
# ruby -run -e wait_writable -- [OPTION] FILE
|
||||||
#
|
#
|
||||||
|
# -n RETRY count to retry
|
||||||
|
# -w SEC each wait time in seconds
|
||||||
|
# -v verbose
|
||||||
|
#
|
||||||
|
|
||||||
def wait_writable
|
def wait_writable
|
||||||
setup("n:w:v") do |argv, options|
|
setup("n:w:v") do |argv, options|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче