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.
Commit
10e710010711330f252e803bc58f00a3a87a713e65c4d91686c179b8ec653311
Parent
fb2d6374f5e3423…
1 file changed
+2
-2
+2
-2
| --- src/winhttp.c | ||
| +++ src/winhttp.c | ||
| @@ -949,11 +949,11 @@ | ||
| 949 | 949 | ** which means you need to start the service yourself with the |
| 950 | 950 | ** 'fossil winsrv start' command or with the "net start" command |
| 951 | 951 | ** from the operating system. If TYPE is set to "auto", the service |
| 952 | 952 | ** will be started automatically by the system during startup. |
| 953 | 953 | ** |
| 954 | -** -U|--username USERNAME | |
| 954 | +** --username USERNAME | |
| 955 | 955 | ** |
| 956 | 956 | ** Specifies the user account which will be used to run the |
| 957 | 957 | ** service. The account needs the "Logon as a service" right |
| 958 | 958 | ** enabled in its profile. Specify local accounts as follows: |
| 959 | 959 | ** ".\\USERNAME". By default, the "LocalSystem" account will be |
| @@ -1053,11 +1053,11 @@ | ||
| 1053 | 1053 | svcDescr = {L"Fossil - Distributed Software Configuration Management"}; |
| 1054 | 1054 | DWORD dwStartType = SERVICE_DEMAND_START; |
| 1055 | 1055 | const char *zAltBase = find_option("baseurl", 0, 1); |
| 1056 | 1056 | const char *zDisplay = find_option("display", "D", 1); |
| 1057 | 1057 | 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); | |
| 1059 | 1059 | const char *zPassword = find_option("password", "W", 1); |
| 1060 | 1060 | const char *zPort = find_option("port", "P", 1); |
| 1061 | 1061 | const char *zNotFound = find_option("notfound", 0, 1); |
| 1062 | 1062 | const char *zFileGlob = find_option("files", 0, 1); |
| 1063 | 1063 | const char *zLocalAuth = find_option("localauth", 0, 0); |
| 1064 | 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 | ** -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 |