Skip to content

reboot --help #2264

Closed
Closed
@qiluo-msft

Description

@qiluo-msft

Description

Steps to reproduce the issue:

admin@sonic:~$ sudo reboot --help
Stopping syncd...
requested COLD shutdown
Rebooting with platform x86_64-mlnx_msn2700-r0 specific tool ...
Mellanox firmware is up to date
reboot [OPTIONS...] [ARG]

Reboot the system.

     --help      Show this help
     --halt      Halt the machine
  -p --poweroff  Switch off the machine
     --reboot    Reboot the machine
  -f --force     Force immediate halt/power-off/reboot
  -w --wtmp-only Don't halt/power-off/reboot, just write wtmp record
  -d --no-wtmp   Don't write wtmp record
     --no-wall   Don't send wall message before halt/power-off/reboot

Describe the results you received:

Describe the results you expected:

  1. It should output usage and exit immediately
  2. Stopping syncd... should be 'syncd process'

Additional information you deem important (e.g. issue happens only occasionally):

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions