Skip to content

Commit

Permalink
Merge pull request #449 from ronanM/patch-1
Browse files Browse the repository at this point in the history
Command line for alternative config `-Dconfig.file`
  • Loading branch information
havocp committed Feb 8, 2017
2 parents a765399 + d82c973 commit 93d70f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -251,7 +251,8 @@ library examples in `examples/` show how to accept a custom config
while defaulting to `ConfigFactory.load()`.

For applications using `application.{conf,json,properties}`,
system properties can be used to force a different config source:
system properties can be used to force a different config source
(e.g. from command line `-Dconfig.file=path/to/config-file`):

- `config.resource` specifies a resource name - not a
basename, i.e. `application.conf` not `application`
Expand Down

0 comments on commit 93d70f6

Please sign in to comment.