Fossil SCM

Disable the short option of `-U|--username USERNAME' for the `winsrv' command, as it conflicts with the global `-U|--user USER' option, and could never be used, anyway.

florian 2021-12-06 07:24 trunk
Commit 10e710010711330f252e803bc58f00a3a87a713e65c4d91686c179b8ec653311
1 file changed +2 -2
+2 -2
--- src/winhttp.c
+++ src/winhttp.c
@@ -949,11 +949,11 @@
949949
** which means you need to start the service yourself with the
950950
** 'fossil winsrv start' command or with the "net start" command
951951
** from the operating system. If TYPE is set to "auto", the service
952952
** will be started automatically by the system during startup.
953953
**
954
-** -U|--username USERNAME
954
+** --username USERNAME
955955
**
956956
** Specifies the user account which will be used to run the
957957
** service. The account needs the "Logon as a service" right
958958
** enabled in its profile. Specify local accounts as follows:
959959
** ".\\USERNAME". By default, the "LocalSystem" account will be
@@ -1053,11 +1053,11 @@
10531053
svcDescr = {L"Fossil - Distributed Software Configuration Management"};
10541054
DWORD dwStartType = SERVICE_DEMAND_START;
10551055
const char *zAltBase = find_option("baseurl", 0, 1);
10561056
const char *zDisplay = find_option("display", "D", 1);
10571057
const char *zStart = find_option("start", "S", 1);
1058
- const char *zUsername = find_option("username", "U", 1);
1058
+ const char *zUsername = find_option("username", 0, 1);
10591059
const char *zPassword = find_option("password", "W", 1);
10601060
const char *zPort = find_option("port", "P", 1);
10611061
const char *zNotFound = find_option("notfound", 0, 1);
10621062
const char *zFileGlob = find_option("files", 0, 1);
10631063
const char *zLocalAuth = find_option("localauth", 0, 0);
10641064
--- src/winhttp.c
+++ src/winhttp.c
@@ -949,11 +949,11 @@
949 ** which means you need to start the service yourself with the
950 ** 'fossil winsrv start' command or with the "net start" command
951 ** from the operating system. If TYPE is set to "auto", the service
952 ** will be started automatically by the system during startup.
953 **
954 ** -U|--username USERNAME
955 **
956 ** Specifies the user account which will be used to run the
957 ** service. The account needs the "Logon as a service" right
958 ** enabled in its profile. Specify local accounts as follows:
959 ** ".\\USERNAME". By default, the "LocalSystem" account will be
@@ -1053,11 +1053,11 @@
1053 svcDescr = {L"Fossil - Distributed Software Configuration Management"};
1054 DWORD dwStartType = SERVICE_DEMAND_START;
1055 const char *zAltBase = find_option("baseurl", 0, 1);
1056 const char *zDisplay = find_option("display", "D", 1);
1057 const char *zStart = find_option("start", "S", 1);
1058 const char *zUsername = find_option("username", "U", 1);
1059 const char *zPassword = find_option("password", "W", 1);
1060 const char *zPort = find_option("port", "P", 1);
1061 const char *zNotFound = find_option("notfound", 0, 1);
1062 const char *zFileGlob = find_option("files", 0, 1);
1063 const char *zLocalAuth = find_option("localauth", 0, 0);
1064
--- src/winhttp.c
+++ src/winhttp.c
@@ -949,11 +949,11 @@
949 ** which means you need to start the service yourself with the
950 ** 'fossil winsrv start' command or with the "net start" command
951 ** from the operating system. If TYPE is set to "auto", the service
952 ** will be started automatically by the system during startup.
953 **
954 ** --username USERNAME
955 **
956 ** Specifies the user account which will be used to run the
957 ** service. The account needs the "Logon as a service" right
958 ** enabled in its profile. Specify local accounts as follows:
959 ** ".\\USERNAME". By default, the "LocalSystem" account will be
@@ -1053,11 +1053,11 @@
1053 svcDescr = {L"Fossil - Distributed Software Configuration Management"};
1054 DWORD dwStartType = SERVICE_DEMAND_START;
1055 const char *zAltBase = find_option("baseurl", 0, 1);
1056 const char *zDisplay = find_option("display", "D", 1);
1057 const char *zStart = find_option("start", "S", 1);
1058 const char *zUsername = find_option("username", 0, 1);
1059 const char *zPassword = find_option("password", "W", 1);
1060 const char *zPort = find_option("port", "P", 1);
1061 const char *zNotFound = find_option("notfound", 0, 1);
1062 const char *zFileGlob = find_option("files", 0, 1);
1063 const char *zLocalAuth = find_option("localauth", 0, 0);
1064

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button