multi: add base dir to aperture

This commit is contained in:
carla
2021-10-04 09:11:32 +02:00
parent 08dc2154c0
commit 3184fe63de
2 changed files with 36 additions and 6 deletions

View File

@@ -107,6 +107,9 @@ type Config struct {
// ConfigFile points aperture to an alternative config file.
ConfigFile string `long:"configfile" description:"Custom path to a config file."`
// BaseDir is a custom directory to store all aperture flies.
BaseDir string `long:"basedir" description:"Directory to place all of aperture's files in."`
}
func (c *Config) validate() error {