windows/shutdown: remove extra example; improve restart example (#5076)
This commit is contained in:
@@ -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`
|
||||||
|
Reference in New Issue
Block a user