Without using man
and in a single command from --help
, I'd like to know further information for certain options. I know that for every command, by default the option -h
or --help
will print a help page with a list of available options. But how can I get only the description of a particular option?
In the web and here in particular we see a lot of instructions and commands and I'd like to read more about it without searching in the full list.
For example, I know that rsync -h
means
-h, --human-readable output numbers in a human-readable format
or that ls -l
means
-l use a long listing format
How to get that specific information in a short command?
rsync --help | grep '\-l,'
– jasonwryan Jan 04 '18 at 00:01grep -- -l
seems easier to me. – Hauke Laging Jan 04 '18 at 00:30