Fossil SCM
Correct the winsrv documentation to use the renamed command name.
Commit
f6b8397e4b42aa977dac73fe78641d657028d04f
Parent
3cdcb51573a0e6d…
1 file changed
+7
-7
+7
-7
| --- src/winhttp.c | ||
| +++ src/winhttp.c | ||
| @@ -444,11 +444,11 @@ | ||
| 444 | 444 | ** is logged in. |
| 445 | 445 | ** |
| 446 | 446 | ** In the following description of the methods, "Fossil-DSCM" will be |
| 447 | 447 | ** used as the default SERVICE-NAME: |
| 448 | 448 | ** |
| 449 | -** fossil service create ?SERVICE-NAME? ?OPTIONS? | |
| 449 | +** fossil winsrv create ?SERVICE-NAME? ?OPTIONS? | |
| 450 | 450 | ** |
| 451 | 451 | ** Creates a service. Available options include: |
| 452 | 452 | ** |
| 453 | 453 | ** -D|--display DISPLAY-NAME |
| 454 | 454 | ** |
| @@ -458,11 +458,11 @@ | ||
| 458 | 458 | ** |
| 459 | 459 | ** -S|--start TYPE |
| 460 | 460 | ** |
| 461 | 461 | ** Sets the start type of the service. TYPE can be "manual", |
| 462 | 462 | ** which means you need to start the service yourself with the |
| 463 | -** 'fossil service start' command or with the "net start" command | |
| 463 | +** 'fossil winsrv start' command or with the "net start" command | |
| 464 | 464 | ** from the operating system. If TYPE is set to "auto", the service |
| 465 | 465 | ** will be started automatically by the system during startup. |
| 466 | 466 | ** |
| 467 | 467 | ** -U|--username USERNAME |
| 468 | 468 | ** |
| @@ -509,27 +509,27 @@ | ||
| 509 | 509 | ** Enables automatic login if the --localauth option is present |
| 510 | 510 | ** and the "localauth" setting is off and the connection is from |
| 511 | 511 | ** localhost. |
| 512 | 512 | ** |
| 513 | 513 | ** |
| 514 | -** fossil service delete ?SERVICE-NAME? | |
| 514 | +** fossil winsrv delete ?SERVICE-NAME? | |
| 515 | 515 | ** |
| 516 | 516 | ** Deletes a service. If the service is currently running, it will be |
| 517 | 517 | ** stopped first and then deleted. |
| 518 | 518 | ** |
| 519 | 519 | ** |
| 520 | -** fossil service show ?SERVICE-NAME? | |
| 520 | +** fossil winsrv show ?SERVICE-NAME? | |
| 521 | 521 | ** |
| 522 | 522 | ** Shows how the service is configured and its current state. |
| 523 | 523 | ** |
| 524 | 524 | ** |
| 525 | -** fossil service start ?SERVICE-NAME? | |
| 525 | +** fossil winsrv start ?SERVICE-NAME? | |
| 526 | 526 | ** |
| 527 | 527 | ** Start the service. |
| 528 | 528 | ** |
| 529 | 529 | ** |
| 530 | -** fossil service stop ?SERVICE-NAME? | |
| 530 | +** fossil winsrv stop ?SERVICE-NAME? | |
| 531 | 531 | ** |
| 532 | 532 | ** Stop the service. |
| 533 | 533 | ** |
| 534 | 534 | ** |
| 535 | 535 | ** NOTE: This command is available on Windows operating systems only and |
| @@ -852,11 +852,11 @@ | ||
| 852 | 852 | |
| 853 | 853 | #else /* _WIN32 -- This code is for win32 only */ |
| 854 | 854 | #include "winhttp.h" |
| 855 | 855 | |
| 856 | 856 | void cmd_win32_service(void){ |
| 857 | - fossil_fatal("The service command is platform specific " | |
| 857 | + fossil_fatal("The winsrv command is platform specific " | |
| 858 | 858 | "and not available on this platform."); |
| 859 | 859 | return; |
| 860 | 860 | } |
| 861 | 861 | |
| 862 | 862 | #endif /* _WIN32 -- This code is for win32 only */ |
| 863 | 863 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -444,11 +444,11 @@ | |
| 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 | ** |
| @@ -458,11 +458,11 @@ | |
| 458 | ** |
| 459 | ** -S|--start TYPE |
| 460 | ** |
| 461 | ** Sets the start type of the service. TYPE can be "manual", |
| 462 | ** which means you need to start the service yourself with the |
| 463 | ** 'fossil service start' command or with the "net start" command |
| 464 | ** from the operating system. If TYPE is set to "auto", the service |
| 465 | ** will be started automatically by the system during startup. |
| 466 | ** |
| 467 | ** -U|--username USERNAME |
| 468 | ** |
| @@ -509,27 +509,27 @@ | |
| 509 | ** Enables automatic login if the --localauth option is present |
| 510 | ** and the "localauth" setting is off and the connection is from |
| 511 | ** localhost. |
| 512 | ** |
| 513 | ** |
| 514 | ** fossil service delete ?SERVICE-NAME? |
| 515 | ** |
| 516 | ** Deletes a service. If the service is currently running, it will be |
| 517 | ** stopped first and then deleted. |
| 518 | ** |
| 519 | ** |
| 520 | ** fossil service show ?SERVICE-NAME? |
| 521 | ** |
| 522 | ** Shows how the service is configured and its current state. |
| 523 | ** |
| 524 | ** |
| 525 | ** fossil service start ?SERVICE-NAME? |
| 526 | ** |
| 527 | ** Start the service. |
| 528 | ** |
| 529 | ** |
| 530 | ** fossil service stop ?SERVICE-NAME? |
| 531 | ** |
| 532 | ** Stop the service. |
| 533 | ** |
| 534 | ** |
| 535 | ** NOTE: This command is available on Windows operating systems only and |
| @@ -852,11 +852,11 @@ | |
| 852 | |
| 853 | #else /* _WIN32 -- This code is for win32 only */ |
| 854 | #include "winhttp.h" |
| 855 | |
| 856 | void cmd_win32_service(void){ |
| 857 | fossil_fatal("The service command is platform specific " |
| 858 | "and not available on this platform."); |
| 859 | return; |
| 860 | } |
| 861 | |
| 862 | #endif /* _WIN32 -- This code is for win32 only */ |
| 863 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -444,11 +444,11 @@ | |
| 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 winsrv create ?SERVICE-NAME? ?OPTIONS? |
| 450 | ** |
| 451 | ** Creates a service. Available options include: |
| 452 | ** |
| 453 | ** -D|--display DISPLAY-NAME |
| 454 | ** |
| @@ -458,11 +458,11 @@ | |
| 458 | ** |
| 459 | ** -S|--start TYPE |
| 460 | ** |
| 461 | ** Sets the start type of the service. TYPE can be "manual", |
| 462 | ** which means you need to start the service yourself with the |
| 463 | ** 'fossil winsrv start' command or with the "net start" command |
| 464 | ** from the operating system. If TYPE is set to "auto", the service |
| 465 | ** will be started automatically by the system during startup. |
| 466 | ** |
| 467 | ** -U|--username USERNAME |
| 468 | ** |
| @@ -509,27 +509,27 @@ | |
| 509 | ** Enables automatic login if the --localauth option is present |
| 510 | ** and the "localauth" setting is off and the connection is from |
| 511 | ** localhost. |
| 512 | ** |
| 513 | ** |
| 514 | ** fossil winsrv delete ?SERVICE-NAME? |
| 515 | ** |
| 516 | ** Deletes a service. If the service is currently running, it will be |
| 517 | ** stopped first and then deleted. |
| 518 | ** |
| 519 | ** |
| 520 | ** fossil winsrv show ?SERVICE-NAME? |
| 521 | ** |
| 522 | ** Shows how the service is configured and its current state. |
| 523 | ** |
| 524 | ** |
| 525 | ** fossil winsrv start ?SERVICE-NAME? |
| 526 | ** |
| 527 | ** Start the service. |
| 528 | ** |
| 529 | ** |
| 530 | ** fossil winsrv stop ?SERVICE-NAME? |
| 531 | ** |
| 532 | ** Stop the service. |
| 533 | ** |
| 534 | ** |
| 535 | ** NOTE: This command is available on Windows operating systems only and |
| @@ -852,11 +852,11 @@ | |
| 852 | |
| 853 | #else /* _WIN32 -- This code is for win32 only */ |
| 854 | #include "winhttp.h" |
| 855 | |
| 856 | void cmd_win32_service(void){ |
| 857 | fossil_fatal("The winsrv command is platform specific " |
| 858 | "and not available on this platform."); |
| 859 | return; |
| 860 | } |
| 861 | |
| 862 | #endif /* _WIN32 -- This code is for win32 only */ |
| 863 |