[PATCH] depmod: Add help

Denys Vlasenko vda.linux at googlemail.com
Sun Feb 19 15:35:39 UTC 2012


On Saturday 18 February 2012 12:28, Lauri Kasanen wrote:
> Hi
> 
> Depmod lacked usage help, so add some.

+//usage:#define depmod_trivial_usage "-abnruqC [VERSION] [MODFILES]..."

Wrong: -b and -C take params.

+//usage:#define depmod_full_usage "\n\n"
+//usage:       "Generate modules.dep, alias, and symbols files\n"
+//usage:       "\n     -a      No-op"
+//usage:       "\n     -b BASE Use $BASE/lib/modules/VERSION"
+//usage:       "\n     -n      Dry run, print the files to stdout"
+//usage:       "\n     -r      No-op"
+//usage:       "\n     -u      No-op"
+//usage:       "\n     -q      No-op"
+//usage:       "\n     -C      No-op"

Busybox does not show no-op options in --help.

Committed as:

http://git.busybox.net/busybox/commit/?id=5a5db93b0f27a5fd090509f9745b63f49b9b7871

-- 
vda


More information about the busybox mailing list