mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-12 16:22:30 +02:00
fix(installer): show help text on error and document --profile full in README
Running install.ps1/install.sh with no arguments gave a cryptic error with no guidance. Now the usage help is printed after the error so users know what arguments to pass. Also added --profile full as the recommended install option in the README quick-start section, which was previously undocumented. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
70a96bd363
commit
d49c95a5ec
2 changed files with 12 additions and 2 deletions
|
|
@ -139,8 +139,8 @@ function main() {
|
|||
printHumanPlan(result, false);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(`Error: ${error.message}`);
|
||||
process.exit(1);
|
||||
console.error(`Error: ${error.message}\n`);
|
||||
showHelp(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue