diff --git a/scripts/install-help.sh b/scripts/install-help.sh new file mode 100755 index 000000000..0927f727a --- /dev/null +++ b/scripts/install-help.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +set -e + +cd "$(dirname "$0")"/.. + +cargo build --package solana-install +export PATH=$PWD/target/debug:$PATH + +echo "\`\`\`manpage" +solana-install --help +echo "\`\`\`" +echo "" + +commands=(init info deploy update run) + +for x in "${commands[@]}"; do + echo "\`\`\`manpage" + solana-install "${x}" --help + echo "\`\`\`" + echo "" +done diff --git a/scripts/wallet-help.sh b/scripts/wallet-help.sh index 92d156ed9..ebe980501 100755 --- a/scripts/wallet-help.sh +++ b/scripts/wallet-help.sh @@ -3,7 +3,7 @@ set -e cd "$(dirname "$0")"/.. -cargo build +cargo build --package wallet export PATH=$PWD/target/debug:$PATH echo "\`\`\`manpage"