about summary refs log tree commit homepage
path: root/bin
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-05-10 09:06:35 +0000
committerEric Wong <e@80x24.org>2015-05-10 09:35:49 +0000
commit619b08c9d4e43d94bac39cd395c1def6fa796f06 (patch)
treef4381ed9d40414e5340519c181ee207d26e40794 /bin
parent1e7eeebd9d6b2cdce7a803fcce8a50310482905c (diff)
downloaddtas-619b08c9d4e43d94bac39cd395c1def6fa796f06.tar.gz
It is useful to force output to a writable directory if the YAML
file is on a read-only mount point or to force the output to a
large tmpfs mount point to avoid SSD/HDD wear.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dtas-splitfx1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/dtas-splitfx b/bin/dtas-splitfx
index be12910..b8fc6c8 100755
--- a/bin/dtas-splitfx
+++ b/bin/dtas-splitfx
@@ -14,6 +14,7 @@ OptionParser.new('', 24, '  ') do |op|
   op.on('-j', '--jobs [JOBS]', Integer) { |val| opts[:jobs] = val }
   op.on('-s', '--quiet', '--silent') { |val| opts[:silent] = true }
   op.on('-D', '--no-dither') { |val| opts[:no_dither] = true }
+  op.on('-O', '--outdir OUTDIR') { |val| opts[:outdir] = val }
   op.parse!(ARGV)
 end