Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
update obtain options help
Browse files Browse the repository at this point in the history
  • Loading branch information
skywing committed Jun 27, 2019
1 parent 65b46f5 commit dd34c0d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions packages/truffle-core/lib/commands/obtain.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,11 @@ module.exports = {
command: "obtain",
description: "Fetch and cache a specified compiler",
help: {
usage: "truffle obtain <--<compiler_name> <version>>",
usage: "truffle obtain [--solc <version>]",
options: [
{
option: "<--<compiler_name> <version>>",
description:
`Download and cache a version of the specified compiler.\n` +
` compiler_name must be one of the following: ` +
`'solc'.(required)`
},
{
option: "--solc <version>",
description:
`Download and cache a version of the solc compiler.`
description: `Download and cache a version of the solc compiler. (required)`
}
]
},
Expand Down

0 comments on commit dd34c0d

Please sign in to comment.