From 36309cf3f495dcfd4aba541425b34dd2455cccf2 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 22 Nov 2008 18:29:01 +0000 Subject: insmod: clarify module_name / file_name distinction --- include/usage.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/usage.h b/include/usage.h index 5223e9e..49c9400 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1864,8 +1864,12 @@ "\ninotifyd waits for PROG to exit." \ "\nWhen x event happens for all FILEs, inotifyd exits" \ +/* 2.6 style insmod has no options and required filename + * (not module name - .ko can't be omitted) */ #define insmod_trivial_usage \ - USE_FEATURE_2_4_MODULES("[OPTION]... ") "MODULE [symbol=value]..." + USE_FEATURE_2_4_MODULES("[OPTION]... MODULE ") \ + SKIP_FEATURE_2_4_MODULES("FILE ") \ + "[symbol=value]..." #define insmod_full_usage "\n\n" \ "Load the specified kernel modules into the kernel" \ USE_FEATURE_2_4_MODULES( "\n" \ -- cgit v1.1