File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1601,13 +1601,12 @@ fn prompt_login_after_setup() -> Result<bool, GwsError> {
16011601pub async fn run_setup ( args : & [ String ] ) -> Result < ( ) , GwsError > {
16021602 // Handle --help / -h before any setup work (which requires gcloud).
16031603 if args. iter ( ) . any ( |a| a == "--help" || a == "-h" ) {
1604- println ! (
1605- "Usage: gws auth setup [options]\n \n \
1604+ const SETUP_USAGE : & str = "Usage: gws auth setup [options]\n \n \
16061605 Options:\n \
16071606 --project <id> Use a specific GCP project\n \
16081607 --login Run `gws auth login` after successful setup\n \
1609- --dry-run Preview changes without making them"
1610- ) ;
1608+ --dry-run Preview changes without making them";
1609+ println ! ( "{SETUP_USAGE}" ) ;
16111610 return Ok ( ( ) ) ;
16121611 }
16131612
You can’t perform that action at this time.
0 commit comments