diff options
| author | Derrick Stolee <stolee@gmail.com> | 2025-05-14 09:52:44 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-05-14 12:18:12 -0700 |
| commit | e918917360817e7bb58baae2bc166998ffdc8726 (patch) | |
| tree | 8acf70ca75465191f260bd3d90099f888c509448 /scalar.c | |
| parent | a34fef86e09f4dfe8b1198dd56e0631d24302b0e (diff) | |
| download | git-e918917360817e7bb58baae2bc166998ffdc8726.tar.gz | |
scalar reconfigure: improve --maintenance docs
The --maintenance option for 'scalar reconfigure' has three possible
values. Improve the documentation by specifying the option in the -h
help menu and usage information.
Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'scalar.c')
| -rw-r--r-- | scalar.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -675,12 +675,12 @@ static int cmd_reconfigure(int argc, const char **argv) OPT_BOOL('a', "all", &all, N_("reconfigure all registered enlistments")), OPT_STRING(0, "maintenance", &maintenance_str, - N_("<mode>"), + N_("(enable|disable|keep)"), N_("signal how to adjust background maintenance")), OPT_END(), }; const char * const usage[] = { - N_("scalar reconfigure [--maintenance=<mode>] [--all | <enlistment>]"), + N_("scalar reconfigure [--maintenance=(enable|disable|keep)] [--all | <enlistment>]"), NULL }; struct string_list scalar_repos = STRING_LIST_INIT_DUP; |
