commit | b031ac4e7ddcd16e34cbc4fa33e340857a99d181 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Mon Dec 18 10:30:10 2017 -0200 |
committer | Jonathan Corbet <corbet@lwn.net> | Thu Dec 21 13:41:46 2017 -0700 |
tree | b08cf746144815b2a8825a63175ef8b9bca7a685 | |
parent | b05142675310d2ac80276569e151742f880e3ec3 [diff] |
scripts: kernel-doc: improve argument handling Right now, if one uses "--rst" instead of "-rst", it just ignore the argument and produces a man page. Change the logic to accept both "-cmd" and "--cmd". Also, if "cmd" doesn't exist, print the usage information and exit. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>