浏览代码

windows/shutdown: remove extra example; improve restart example (#5076)

bl-ue 4 年之前
父节点
当前提交
dbe3717463
共有 1 个文件被更改,包括 2 次插入6 次删除
  1. 2 6
      pages/windows/shutdown.md

+ 2 - 6
pages/windows/shutdown.md

@@ -11,9 +11,9 @@
 
 
 `shutdown /s /f`
 `shutdown /s /f`
 
 
-- Restart the current machine:
+- Restart the current machine immediately:
 
 
-`shutdown /r`
+`shutdown /r /t 0`
 
 
 - Hibernate the current machine:
 - Hibernate the current machine:
 
 
@@ -27,10 +27,6 @@
 
 
 `shutdown /s /t {{seconds}}`
 `shutdown /s /t {{seconds}}`
 
 
-- Specify a comment for the shutdown reason:
-
-`shutdown /s /c "{{reason}}"`
-
 - Abort a shutdown sequence whose timeout is yet to expire:
 - Abort a shutdown sequence whose timeout is yet to expire:
 
 
 `shutdown /a`
 `shutdown /a`