浏览代码

Revise docs for 3.0.0-alpha.6 (#713)

* Update `reboot` action

* Update Program.cs
Next Turn 5 年之前
父节点
当前提交
0e835c850d
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/xml-config-file.md
  2. 1 1
      src/WinSW/Program.cs

+ 1 - 1
docs/xml-config-file.md

@@ -300,7 +300,7 @@ Each element contains a mandatory `action` attribute, which controls what Window
 The legal values for action are:
 
 - `restart`: restart the service
-- `reboot`: reboot Windows
+- `reboot`: reboot Windows. A blue screen with the [CRITICAL_PROCESS_DIED](https://docs.microsoft.com/windows-hardware/drivers/debugger/bug-check-0xef--critical-process-died) bug check code will be displayed
 - `none`: do nothing and leave the service stopped
 
 The possible suffix for the delay attribute is sec/secs/min/mins/hour/hours/day/days. If missing, the delay attribute defaults to 0.

+ 1 - 1
src/WinSW/Program.cs

@@ -279,7 +279,7 @@ namespace WinSW
             }
 
             {
-                var customize = new Command("customize")
+                var customize = new Command("customize", "Customizes the wrapper executable.")
                 {
                     Handler = CommandHandler.Create<string, string>(Customize),
                 };