attempt to detect a laptop
Return an exit status of 0 if the current device is likely a laptop, else returns 1
Print the type of device that the current system is detected as
Display the version
Laptop-detect attempts to determine whether it is being run on a laptop or a desktop and appraises its caller of this.
- -h --help
- Output help information and exit.
- -v --verbose
- be verbose (messages go to STDOUT)
- -V --version
- Output version information and exit.
0 most likely running on a laptop 1 most likely NOT running on a laptop 2 usage error (arguments supplied)
Franklin PIAT <email@example.com>