I read the answer wireless - How can I check the information of currently installed WiFi drivers? - Ask Ubuntu and learn a command
sudo apt-get install -y hardinfo
then I tried to find the option -y in the man page
me@alpha:~$ man apt-get | grep '-y'
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
me@alpha:~$ man apt | grep '-y'
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
me@alpha:~$ man install | grep '-y'
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
me@alpha:~$ man 'apt install'
No manual entry for apt install
How could I get a manual about options to apt install?