Skip to content

Commit

Permalink
fix naming collision
Browse files Browse the repository at this point in the history
  • Loading branch information
GantMan committed Aug 10, 2018
1 parent b87e22b commit 6b86542
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions docs/cliOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Solidarity
Flags
--verbose (-a) Prints all detected info during solidarity check
--moderate (-m) Prints failures in check or single success message
--silent (-s) No output, just a return code of success/failure
--verbose (-a) Prints all detected info during solidarity check
--moderate (-m) Prints failures in check or single success message
--silent (-s) No output, just a return code of success/failure
--solidarityFile (-f) Use given path to solidarity file for settings
--module (-m) Search for a solidarity file in the given npm package
--stack (-t) Use a known technology stack, and not the local file
--module (-d) Search for a solidarity file in the given npm package
--stack (-t) Use a known technology stack, and not the local file
Solidarity is open source - https://github.com/infinitered/solidarity
If you need additional help, join our Slack at http://community.infinite.red
Expand Down
10 changes: 5 additions & 5 deletions src/commands/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ module.exports = {
print.info(' Commands')
print.printCommands(context)
print.info('\n Flags\n')
print.info(' --verbose\t (-a) Prints all detected info during solidarity check')
print.info(' --moderate\t (-m) Prints failures in check or single success message')
print.info(' --silent\t (-s) No output, just a return code of success/failure')
print.info(' --verbose\t\t (-a) Prints all detected info during solidarity check')
print.info(' --moderate\t\t (-m) Prints failures in check or single success message')
print.info(' --silent\t\t (-s) No output, just a return code of success/failure')
print.info(' --solidarityFile\t (-f) Use given path to solidarity file for settings')
print.info(' --module\t (-m) Search for a solidarity file in the given npm package')
print.info(' --stack\t (-t) Use a known technology stack, and not the local file')
print.info(' --module\t\t (-d) Search for a solidarity file in the given npm package')
print.info(' --stack\t\t (-t) Use a known technology stack, and not the local file')

print.success(colors.magenta('\nSolidarity is open source - https://github.com/infinitered/solidarity'))
print.info(colors.magenta('If you need additional help, join our Slack at http://community.infinite.red'))
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/functions/getSolidaritySettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = async (context: SolidarityRunContext): Promise<SolidaritySettin
const { filesystem, parameters } = context
const options = parameters.options || {} // fix possibly undefined from gluegun
const demandedFile = options.solidarityFile || options.f
const demandedModule = options.module || options.m
const demandedModule = options.module || options.d
const demandedCheck = options.stack || options.t

/* for now only JSON and JSON5 support
Expand Down

0 comments on commit 6b86542

Please sign in to comment.