Fossil SCM

Correct the winsrv documentation to use the renamed command name.

ben 2011-07-30 10:14 ben-minorchanges
Commit f6b8397e4b42aa977dac73fe78641d657028d04f
1 file changed +7 -7
+7 -7
--- src/winhttp.c
+++ src/winhttp.c
@@ -444,11 +444,11 @@
444444
** is logged in.
445445
**
446446
** In the following description of the methods, "Fossil-DSCM" will be
447447
** used as the default SERVICE-NAME:
448448
**
449
-** fossil service create ?SERVICE-NAME? ?OPTIONS?
449
+** fossil winsrv create ?SERVICE-NAME? ?OPTIONS?
450450
**
451451
** Creates a service. Available options include:
452452
**
453453
** -D|--display DISPLAY-NAME
454454
**
@@ -458,11 +458,11 @@
458458
**
459459
** -S|--start TYPE
460460
**
461461
** Sets the start type of the service. TYPE can be "manual",
462462
** 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
464464
** from the operating system. If TYPE is set to "auto", the service
465465
** will be started automatically by the system during startup.
466466
**
467467
** -U|--username USERNAME
468468
**
@@ -509,27 +509,27 @@
509509
** Enables automatic login if the --localauth option is present
510510
** and the "localauth" setting is off and the connection is from
511511
** localhost.
512512
**
513513
**
514
-** fossil service delete ?SERVICE-NAME?
514
+** fossil winsrv delete ?SERVICE-NAME?
515515
**
516516
** Deletes a service. If the service is currently running, it will be
517517
** stopped first and then deleted.
518518
**
519519
**
520
-** fossil service show ?SERVICE-NAME?
520
+** fossil winsrv show ?SERVICE-NAME?
521521
**
522522
** Shows how the service is configured and its current state.
523523
**
524524
**
525
-** fossil service start ?SERVICE-NAME?
525
+** fossil winsrv start ?SERVICE-NAME?
526526
**
527527
** Start the service.
528528
**
529529
**
530
-** fossil service stop ?SERVICE-NAME?
530
+** fossil winsrv stop ?SERVICE-NAME?
531531
**
532532
** Stop the service.
533533
**
534534
**
535535
** NOTE: This command is available on Windows operating systems only and
@@ -852,11 +852,11 @@
852852
853853
#else /* _WIN32 -- This code is for win32 only */
854854
#include "winhttp.h"
855855
856856
void cmd_win32_service(void){
857
- fossil_fatal("The service command is platform specific "
857
+ fossil_fatal("The winsrv command is platform specific "
858858
"and not available on this platform.");
859859
return;
860860
}
861861
862862
#endif /* _WIN32 -- This code is for win32 only */
863863
--- 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

Keyboard Shortcuts

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