You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf" Location of the rush config file\n Default: ~/rush.ini\n"
62
+
printf" Location of the rush config file.\n Default: ~/rush.ini\n"
63
63
echo
64
64
65
65
fi
@@ -97,12 +97,12 @@ rush_add_usage() {
97
97
98
98
# :argument.usage
99
99
echo" REPO"
100
-
printf" Repository name\n"
100
+
printf" Repository name.\n"
101
101
echo
102
102
103
103
# :argument.usage
104
104
echo" PATH"
105
-
printf" Path to the repository\n"
105
+
printf" Path to the repository.\n"
106
106
echo
107
107
108
108
# :command.usage_examples
@@ -143,14 +143,14 @@ rush_remove_usage() {
143
143
# :command.usage_flags
144
144
# :flag.usage
145
145
echo" --purge, -p"
146
-
printf" Also remove the local repository's directory\n"
146
+
printf" Also remove the local repository's directory.\n"
147
147
echo
148
148
# :command.usage_args
149
149
printf"Arguments:\n"
150
150
151
151
# :argument.usage
152
152
echo" REPO"
153
-
printf" Repository name\n"
153
+
printf" Repository name.\n"
154
154
echo
155
155
156
156
# :command.usage_examples
@@ -189,17 +189,22 @@ rush_clone_usage() {
189
189
# :command.usage_flags
190
190
# :flag.usage
191
191
echo" --ssh, -s"
192
-
printf" Clone using SSH instead of HTTPS\n"
192
+
printf" Clone using SSH instead of HTTPS.\n"
193
+
echo
194
+
195
+
# :flag.usage
196
+
echo" --default, -d"
197
+
printf" Set this as the default repository (same as '--name default').\n"
193
198
echo
194
199
195
200
# :flag.usage
196
201
echo" --name, -n NAME"
197
-
printf" Name to use in the config file\n Default: GitHub user\n"
202
+
printf" Name to use in the config file.\n Default: GitHub user\n"
198
203
echo
199
204
200
205
# :flag.usage
201
-
echo" --full, -f"
202
-
printf" Perform a full clone, instead of the default shallow clone\n"
206
+
echo" --shallow, -w"
207
+
printf" Perform a shallow clone, instead of the default full clone.\n"
203
208
echo
204
209
205
210
# :flag.usage
@@ -211,18 +216,19 @@ rush_clone_usage() {
211
216
212
217
# :argument.usage
213
218
echo" GITHUB_USER"
214
-
printf" Github user\n This user is expected to have a repository named 'rush-repo'.\n If you need to use a different name, use the 'user/repo' syntax.\n"
219
+
printf" Github user.\n This user is expected to have a repository named 'rush-repo'.\n If you need to use a different name, use the 'user/repo' syntax.\n"
215
220
echo
216
221
217
222
# :argument.usage
218
223
echo" PATH"
219
-
printf" Local path to clone the repository to\n Default: ~/rush-repos/<github_user>/<github_repo>\n"
224
+
printf" Local path to clone the repository to.\n Default: ~/rush-repos/<github_user>/<github_repo>\n"
printf" Open the configuration file for editing\n"
339
+
printf" Open the configuration file for editing.\n"
334
340
echo
335
341
336
342
fi
@@ -365,7 +371,7 @@ rush_default_usage() {
365
371
366
372
# :argument.usage
367
373
echo" REPO"
368
-
printf" Repository name\n"
374
+
printf" Repository name.\n"
369
375
echo
370
376
371
377
# :command.usage_examples
@@ -406,14 +412,14 @@ rush_get_usage() {
406
412
# :command.usage_flags
407
413
# :flag.usage
408
414
echo" --clone, -c"
409
-
printf" Clone the repository if it is not found locally\n This flag will look for a GitHub user with the same name as the\n repository, and attempt to clone their rush-repo repository.\n"
415
+
printf" Clone the repository if it is not found locally.\n This flag will look for a GitHub user with the same name as the\n repository, and attempt to clone their rush-repo repository.\n"
410
416
echo
411
417
# :command.usage_args
412
418
printf"Arguments:\n"
413
419
414
420
# :argument.usage
415
421
echo" PACKAGE"
416
-
printf" Package name\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
422
+
printf" Package name.\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
417
423
echo
418
424
419
425
# :command.usage_examples
@@ -459,7 +465,7 @@ rush_undo_usage() {
459
465
460
466
# :argument.usage
461
467
echo" PACKAGE"
462
-
printf" Package name\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
468
+
printf" Package name.\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
463
469
echo
464
470
465
471
# :command.usage_examples
@@ -501,12 +507,12 @@ rush_snatch_usage() {
501
507
502
508
# :argument.usage
503
509
echo" GITHUB_USER"
504
-
printf" Github user\n This user is expected to have a repository named 'rush-repo'.\n If you need to use a different name, use the 'user/repo' syntax.\n"
510
+
printf" Github user.\n This user is expected to have a repository named 'rush-repo'.\n If you need to use a different name, use the 'user/repo' syntax.\n"
505
511
echo
506
512
507
513
# :argument.usage
508
514
echo" PACKAGE"
509
-
printf" Package name\n"
515
+
printf" Package name.\n"
510
516
echo
511
517
512
518
# :command.usage_examples
@@ -551,7 +557,7 @@ rush_info_usage() {
551
557
552
558
# :argument.usage
553
559
echo" PACKAGE"
554
-
printf" Package name\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
560
+
printf" Package name.\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
555
561
echo
556
562
557
563
# :command.usage_examples
@@ -591,14 +597,14 @@ rush_list_usage() {
591
597
# :command.usage_flags
592
598
# :flag.usage
593
599
echo" --simple, -s"
594
-
printf" Show only package names\n"
600
+
printf" Show only package names.\n"
595
601
echo
596
602
# :command.usage_args
597
603
printf"Arguments:\n"
598
604
599
605
# :argument.usage
600
606
echo" REPO_OR_PACKAGE"
601
-
printf" Repository name or package name\n - Leave blank to show all packages in all repositories.\n - Provide a repository name to show only packages in this repository.\n - Provide a package name (may be in the form of 'repo:package') to\n show nested packages.\n"
607
+
printf" Repository name or package name.\n - Leave blank to show all packages in all repositories.\n - Provide a repository name to show only packages in this repository.\n - Provide a package name (may be in the form of 'repo:package') to\n show nested packages.\n"
602
608
echo
603
609
604
610
# :command.usage_examples
@@ -644,7 +650,7 @@ rush_search_usage() {
644
650
645
651
# :argument.usage
646
652
echo" TEXT"
647
-
printf" Text to search for\n"
653
+
printf" Text to search for.\n"
648
654
echo
649
655
650
656
fi
@@ -680,12 +686,12 @@ rush_edit_usage() {
680
686
681
687
# :argument.usage
682
688
echo" PACKAGE"
683
-
printf" Package name\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
689
+
printf" Package name.\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
684
690
echo
685
691
686
692
# :argument.usage
687
693
echo" FILE"
688
-
printf" File to edit\n Default: main\n"
694
+
printf" File to edit.\n Default: main\n"
689
695
echo
690
696
691
697
fi
@@ -718,12 +724,12 @@ rush_show_usage() {
718
724
719
725
# :argument.usage
720
726
echo" PACKAGE"
721
-
printf" Package name\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
727
+
printf" Package name.\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
722
728
echo
723
729
724
730
# :argument.usage
725
731
echo" FILE"
726
-
printf" File to show (show all if not specified)\n"
732
+
printf" File to show (show all if not specified).\n"
0 commit comments