reboot reboots system when -h is passed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
New
|
Wishlist
|
Unassigned |
Bug Description
-h is a fairly common shortcut for --help.
reboot, however, reboots the machine when one issues the command:
reboot -h
Now looking at the man page, there is an entry for --halt and --help, but NOTHING for -h at all.
reboot should return the same as --help when -h is passed, or at the very least it should error out and not reboot the system, instead perhaps dumping a message like "-h unknown argument".
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: systemd-sysv 237-3ubuntu10.21
ProcVersionSign
Uname: Linux 4.18.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: Unity:Unity7:ubuntu
Date: Tue Jun 11 00:50:22 2019
InstallationDate: Installed on 2016-02-11 (1215 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160210)
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
Also, yes, I get that this is a nit-pick and that there's a history there, this is more a wishlist thing because it's a usability issue.