retry: --retry-skipped too

This commit is contained in:
Denis Knauf 2013-02-18 14:56:08 +01:00
parent e1513810e2
commit 832a3789ca

View file

@ -363,7 +363,7 @@ Some commands are not displayed by a pager, but will execute:
truckle resume # | do # cave resume truckle resume # | do # cave resume
trdo # | tresume # shortcuts trdo # | tresume # shortcuts
truckle retry # like resume but --retry-failed truckle retry # like resume but --retry-failed --retry-skipped
tretry # shortcut tretry # shortcut
EOF EOF
end end
@ -392,7 +392,9 @@ EOF
cmds.on :uninstall, &sudod {|cmd, *argv| cave.resumable!.uninstall( '-x', *argv).() } cmds.on :uninstall, &sudod {|cmd, *argv| cave.resumable!.uninstall( '-x', *argv).() }
cmds.on :do, :resume, &sudod {|cmd, *args| cave.resumable!.resume( *args).() } cmds.on :do, :resume, &sudod {|cmd, *args| cave.resumable!.resume( *args).() }
cmds.on :retry, &sudod {|cmd, *args| cave.resumable!.resume( '--retry-failed', *args).() } cmds.on :retry, &sudod {|cmd, *args|
cave.resumable!.resume( '--retry-failed', '--retry-skipped', *args).()
}
cmds.on '--list-commands', &pagered { puts cmds.map {|k,v| k } } cmds.on '--list-commands', &pagered { puts cmds.map {|k,v| k } }
end end