File tree 2 files changed +8
-9
lines changed
2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ scalar list
14
14
scalar register [-- [no-]maintenance] [<enlistment >]
15
15
scalar unregister [<enlistment >]
16
16
scalar 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 > ]
18
18
scalar diagnose [<enlistment >]
19
19
scalar delete <enlistment >
20
20
@@ -165,14 +165,13 @@ reconfigure the enlistment.
165
165
registered with Scalar by the `scalar.repo` config key. Use this
166
166
option after each upgrade to get the latest features.
167
167
168
- -- maintenance=< mode > ::
168
+ -- maintenance=(enable|disable|keep) ::
169
169
By default, Scalar configures the enlistment to use Git's
170
170
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.
176
175
177
176
Diagnose
178
177
~~~~~~~~
Original file line number Diff line number Diff line change @@ -675,12 +675,12 @@ static int cmd_reconfigure(int argc, const char **argv)
675
675
OPT_BOOL ('a' , "all" , & all ,
676
676
N_ ("reconfigure all registered enlistments" )),
677
677
OPT_STRING (0 , "maintenance" , & maintenance_str ,
678
- N_ ("<mode> " ),
678
+ N_ ("(enable|disable|keep) " ),
679
679
N_ ("signal how to adjust background maintenance" )),
680
680
OPT_END (),
681
681
};
682
682
const char * const usage [] = {
683
- N_ ("scalar reconfigure [--maintenance=<mode> ] [--all | <enlistment>]" ),
683
+ N_ ("scalar reconfigure [--maintenance=(enable|disable|keep) ] [--all | <enlistment>]" ),
684
684
NULL
685
685
};
686
686
struct string_list scalar_repos = STRING_LIST_INIT_DUP ;
You can’t perform that action at this time.
0 commit comments