[PATCH] scripts/kallsyms: update usage message of the kallsyms program

Yuntao Wang posted 1 patch 3 years, 11 months ago
scripts/kallsyms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] scripts/kallsyms: update usage message of the kallsyms program
Posted by Yuntao Wang 3 years, 11 months ago
The kallsyms program supports --absolute-percpu option but does not display
it in the usage message, fix it.

Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
---
 scripts/kallsyms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c
index 8caabddf817c..a2f4b8d7580f 100644
--- a/scripts/kallsyms.c
+++ b/scripts/kallsyms.c
@@ -70,7 +70,7 @@ static unsigned char best_table_len[256];
 
 static void usage(void)
 {
-	fprintf(stderr, "Usage: kallsyms [--all-symbols] "
+	fprintf(stderr, "Usage: kallsyms [--all-symbols] [--absolute-percpu] "
 			"[--base-relative] < in.map > out.S\n");
 	exit(1);
 }
-- 
2.36.1