@@ -24,13 +24,14 @@ show_help_and_exit() {
2424 echo ' Supported arguments:'
2525 echo ' -c, --config URL Provide custom network config'
2626 echo ' -e, --env-file PATH Provide env file with installation parameters'
27+ echo ' --print-env Print result command and envs after interactive installer without installing MyTonCtrl'
2728 echo ' -t, --telemetry Disable telemetry'
2829 echo ' -i, --ignore-reqs Ignore minimum requirements'
29- echo ' -d, --dump Use pre-packaged dump. Reduces duration of initial synchronization. '
30+ echo ' -d, --dump Use pre-packaged dump. Reduces duration of initial synchronization'
3031 echo ' -a, --author Set MyTonCtrl git repo author'
3132 echo ' -r, --repo Set MyTonCtrl git repo name'
3233 echo ' -b, --branch Set MyTonCtrl git repo branch'
33- echo ' -m, --mode MODE Install MyTonCtrl with specified mode (validator or liteserver)'
34+ echo ' -m, --mode MODE Install MyTonCtrl with specified mode (validator or liteserver). Leave empty to launch interactive installer '
3435 echo ' -n, --network NETWORK Specify the network (mainnet or testnet)'
3536 echo ' -g, --node-repo URL TON node git repo URL (default: https://github.com/ton-blockchain/ton.git)'
3637 echo ' -v, --node-version VERSION Specify the TON node version (commit, branch, or tag)'
@@ -77,6 +78,7 @@ while (($#)); do
7778 --help) newargv+=(-h) ;;
7879 --telemetry) newargv+=(-t) ;;
7980 --ignore-reqs) newargv+=(-i) ;;
81+ --print-env) export PRINT_ENV=true ;;
8082
8183 # with arg
8284 --config|--author|--repo|--branch|--mode|--network|--node-repo|--backup|--user|--node-version|--env-file)
0 commit comments