@corellium/corellium-cli 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
- package/src/profile.js +1 -1
package/index.js
CHANGED
@@ -8,10 +8,10 @@ require('dotenv').config()
|
|
8
8
|
async function run () {
|
9
9
|
return yargs(hideBin(process.argv))
|
10
10
|
.command(commands)
|
11
|
-
.usage('Usage: corellium
|
11
|
+
.usage('Usage: corellium [OPTIONS]')
|
12
12
|
.demandCommand(1, '') // empty string overrides yargs nag message about specifying a command
|
13
13
|
.strict() // strict handling of commands and arguments
|
14
|
-
.epilogue("Run 'corellium
|
14
|
+
.epilogue("Run 'corellium --help' for more information on a command.")
|
15
15
|
.wrap(null) // maximize the width of yargs help information
|
16
16
|
.parse()
|
17
17
|
}
|
package/package.json
CHANGED
package/src/profile.js
CHANGED
@@ -39,7 +39,7 @@ function readTrialConfig () {
|
|
39
39
|
|
40
40
|
function readProfile () {
|
41
41
|
if (!fs.existsSync(profilePath)) {
|
42
|
-
throw new Error(`Profile not found at ${profilePath}. Try to login with "corellium
|
42
|
+
throw new Error(`Profile not found at ${profilePath}. Try to login with "corellium login"`)
|
43
43
|
}
|
44
44
|
return JSON.parse(fs.readFileSync(profilePath))
|
45
45
|
}
|