summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2014-02-04 09:16:19 +0100
committerAzul <azul@riseup.net>2014-02-04 11:46:57 +0100
commitee4f24abf2a7848a015cfb02bfbdebf7b0874d8e (patch)
tree5ec140a864562ecf789fdc9faebbe0cff9f96ce6 /bin
parentcbf35664160a57da4c96796e99911b982afacba2 (diff)
hand config files on the command line to the daemon
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tapicero3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/tapicero b/bin/tapicero
index 32cc228..72f974b 100755
--- a/bin/tapicero
+++ b/bin/tapicero
@@ -46,7 +46,8 @@ end
# --overwrite-security overwrite existing couch security settings
# TODO: not implemented yet:
# --overwrite-designs overwrite existing design documents
-Tapicero::FLAGS.concat ARGV.grep(/--.*/)
+Tapicero::FLAGS.concat ARGV.grep(/--.*/)
+Tapicero::CONFIGS.concat ARGV.grep(/\.ya?ml$/)
# if flags have been set but an action is missing we assume
# tapicero should run in foreground.