]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - scripts/kernel-doc
scripts: kernel-doc: improve argument handling
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 18 Dec 2017 12:30:10 +0000 (10:30 -0200)
committerJonathan Corbet <corbet@lwn.net>
Thu, 21 Dec 2017 20:41:46 +0000 (13:41 -0700)
commitb031ac4e7ddcd16e34cbc4fa33e340857a99d181
treeb08cf746144815b2a8825a63175ef8b9bca7a685
parentb05142675310d2ac80276569e151742f880e3ec3
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>
scripts/kernel-doc