File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ scalar list
1414scalar register [-- [no-]maintenance] [<enlistment >]
1515scalar unregister [<enlistment >]
1616scalar run ( all | config | commit-graph | fetch | loose-objects | pack-files ) [<enlistment >]
17- scalar reconfigure [-- maintenance=< mode > ] [ -- all | <enlistment > ]
17+ scalar reconfigure [-- maintenance=(enable|disable|keep) ] [ -- all | <enlistment > ]
1818scalar diagnose [<enlistment >]
1919scalar delete <enlistment >
2020
@@ -165,14 +165,13 @@ reconfigure the enlistment.
165165 registered with Scalar by the `scalar.repo` config key. Use this
166166 option after each upgrade to get the latest features.
167167
168- -- maintenance=< mode > ::
168+ -- maintenance=(enable|disable|keep) ::
169169 By default, Scalar configures the enlistment to use Git's
170170 background maintenance feature; this is the same as using the
171- `--maintenance=enable` value for this option. Use the
172- `--maintenance=disable` to remove each considered enlistment
173- from background maintenance. Use `--maitnenance=keep' to leave
174- the background maintenance configuration untouched for These
175- repositories.
171+ `enable` value for this option. Use the `disable` value to
172+ remove each considered enlistment from background maintenance.
173+ Use `keep' to leave the background maintenance configuration
174+ untouched for these repositories.
176175
177176Diagnose
178177~~~~~~~~
Original file line number Diff line number Diff line change @@ -675,12 +675,12 @@ static int cmd_reconfigure(int argc, const char **argv)
675675 OPT_BOOL ('a' , "all" , & all ,
676676 N_ ("reconfigure all registered enlistments" )),
677677 OPT_STRING (0 , "maintenance" , & maintenance_str ,
678- N_ ("<mode> " ),
678+ N_ ("(enable|disable|keep) " ),
679679 N_ ("signal how to adjust background maintenance" )),
680680 OPT_END (),
681681 };
682682 const char * const usage [] = {
683- N_ ("scalar reconfigure [--maintenance=<mode> ] [--all | <enlistment>]" ),
683+ N_ ("scalar reconfigure [--maintenance=(enable|disable|keep) ] [--all | <enlistment>]" ),
684684 NULL
685685 };
686686 struct string_list scalar_repos = STRING_LIST_INIT_DUP ;
You can’t perform that action at this time.
0 commit comments