Skip to content

Commit

Permalink
Docs: Update help menu
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxn committed Jul 9, 2021
1 parent 499524e commit 88b48f4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions bin/orgMedia.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ yargs(hideBin(process.argv))
.option("c", {
alias: "config",
default: "~/.orgMedia/config.json",
describe: "Config file location",
describe: "config.json file location",
type: "string"
})
.option("s", {
alias: "storage",
default: "~/.orgMedia/storage.json",
describe: "Storage file location",
describe: "storage.json file location",
type: "string"
})
.option("l", {
Expand Down Expand Up @@ -56,12 +56,7 @@ function getConfigFromArgv(argv) {
});

if (argv.log) {
addFileTransport({
filename: argv.log,
datePattern: "YYYY-MM-DD-HH",
maxSize: "20m",
maxFiles: 10
});
addFileTransport(argv.log);
}

logger.info("data file paths", configLocations);
Expand Down

0 comments on commit 88b48f4

Please sign in to comment.