Fossil SCM
Change the name of the "service" command to "winsrv" to avoid confusion with the "server" command.
Commit
c46c70897cf918a546319d431c2c245425a9cdb3
Parent
06e9ca23e70a59f…
1 file changed
+10
-11
+10
-11
| --- src/winhttp.c | ||
| +++ src/winhttp.c | ||
| @@ -432,30 +432,29 @@ | ||
| 432 | 432 | } |
| 433 | 433 | return 0; |
| 434 | 434 | } |
| 435 | 435 | |
| 436 | 436 | /* |
| 437 | -** COMMAND: service | |
| 438 | -** | |
| 439 | -** Usage: fossil service METHOD ?SERVICE-NAME? ?OPTIONS? | |
| 437 | +** COMMAND: winsrv | |
| 438 | +** Usage: fossil winsrv METHOD ?SERVICE-NAME? ?OPTIONS? | |
| 440 | 439 | ** |
| 441 | 440 | ** Where METHOD is one of: create delete show start stop. |
| 442 | 441 | ** |
| 443 | -** The service command can be used to create and control instances of Fossil | |
| 444 | -** which are are running as Windows services. No user needs to be logged on | |
| 445 | -** when running Fossil as a service. In the following description of the | |
| 446 | -** methods, "Fossil-DSCM" will be used as the default SERVICE-NAME, if no | |
| 447 | -** SERVICE-NAME is specified. | |
| 442 | +** The winsrv command manages Fossil as a Windows service. This allows | |
| 443 | +** (for example) Fossil to be running in the background when no user | |
| 444 | +** is logged in. | |
| 445 | +** | |
| 446 | +** In the following description of the methods, "Fossil-DSCM" will be | |
| 447 | +** used as the default SERVICE-NAME: | |
| 448 | 448 | ** |
| 449 | 449 | ** fossil service create ?SERVICE-NAME? ?OPTIONS? |
| 450 | 450 | ** |
| 451 | -** Creates a service. The following service specific options are | |
| 452 | -** available: | |
| 451 | +** Creates a service. Available options include: | |
| 453 | 452 | ** |
| 454 | 453 | ** -D|--display DISPLAY-NAME |
| 455 | 454 | ** |
| 456 | -** Sets the display name of the service. This name will be showed | |
| 455 | +** Sets the display name of the service. This name is shown | |
| 457 | 456 | ** by graphical interface programs. By default, the display name |
| 458 | 457 | ** equals to the service name. |
| 459 | 458 | ** |
| 460 | 459 | ** -S|--start TYPE |
| 461 | 460 | ** |
| 462 | 461 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -432,30 +432,29 @@ | |
| 432 | } |
| 433 | return 0; |
| 434 | } |
| 435 | |
| 436 | /* |
| 437 | ** COMMAND: service |
| 438 | ** |
| 439 | ** Usage: fossil service METHOD ?SERVICE-NAME? ?OPTIONS? |
| 440 | ** |
| 441 | ** Where METHOD is one of: create delete show start stop. |
| 442 | ** |
| 443 | ** The service command can be used to create and control instances of Fossil |
| 444 | ** which are are running as Windows services. No user needs to be logged on |
| 445 | ** when running Fossil as a service. In the following description of the |
| 446 | ** methods, "Fossil-DSCM" will be used as the default SERVICE-NAME, if no |
| 447 | ** SERVICE-NAME is specified. |
| 448 | ** |
| 449 | ** fossil service create ?SERVICE-NAME? ?OPTIONS? |
| 450 | ** |
| 451 | ** Creates a service. The following service specific options are |
| 452 | ** available: |
| 453 | ** |
| 454 | ** -D|--display DISPLAY-NAME |
| 455 | ** |
| 456 | ** Sets the display name of the service. This name will be showed |
| 457 | ** by graphical interface programs. By default, the display name |
| 458 | ** equals to the service name. |
| 459 | ** |
| 460 | ** -S|--start TYPE |
| 461 | ** |
| 462 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -432,30 +432,29 @@ | |
| 432 | } |
| 433 | return 0; |
| 434 | } |
| 435 | |
| 436 | /* |
| 437 | ** COMMAND: winsrv |
| 438 | ** Usage: fossil winsrv METHOD ?SERVICE-NAME? ?OPTIONS? |
| 439 | ** |
| 440 | ** Where METHOD is one of: create delete show start stop. |
| 441 | ** |
| 442 | ** The winsrv command manages Fossil as a Windows service. This allows |
| 443 | ** (for example) Fossil to be running in the background when no user |
| 444 | ** is logged in. |
| 445 | ** |
| 446 | ** In the following description of the methods, "Fossil-DSCM" will be |
| 447 | ** used as the default SERVICE-NAME: |
| 448 | ** |
| 449 | ** fossil service create ?SERVICE-NAME? ?OPTIONS? |
| 450 | ** |
| 451 | ** Creates a service. Available options include: |
| 452 | ** |
| 453 | ** -D|--display DISPLAY-NAME |
| 454 | ** |
| 455 | ** Sets the display name of the service. This name is shown |
| 456 | ** by graphical interface programs. By default, the display name |
| 457 | ** equals to the service name. |
| 458 | ** |
| 459 | ** -S|--start TYPE |
| 460 | ** |
| 461 |