[irqbalance] [PATCH v2 2/5] irqbalance: fixed policyscript documentation

  • From: Petr Holasek <pholasek@xxxxxxxxxx>
  • To: irqbalance@xxxxxxxxxxxxx
  • Date: Thu, 19 Mar 2015 14:58:34 +0100

Signed-off-by: Petr Holasek <pholasek@xxxxxxxxxx>
---
 irqbalance.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/irqbalance.c b/irqbalance.c
index e4f3b93..29967ba 100644
--- a/irqbalance.c
+++ b/irqbalance.c
@@ -92,7 +92,7 @@ struct option lopts[] = {
 static void usage(void)
 {
        log(TO_CONSOLE, LOG_INFO, "irqbalance [--oneshot | -o] [--debug | -d] 
[--foreground | -f] [--journal | -j] [--hintpolicy= | -h 
[exact|subset|ignore]]\n");
-       log(TO_CONSOLE, LOG_INFO, "     [--powerthresh= | -p <off> | <n>] 
[--banirq= | -i <n>] [--policyscript=<script>] [--pid= | -s <file>] 
[--deepestcache= | -c <n>]\n");
+       log(TO_CONSOLE, LOG_INFO, "     [--powerthresh= | -p <off> | <n>] 
[--banirq= | -i <n>] [--policyscript= | -l <script>] [--pid= | -s <file>] 
[--deepestcache= | -c <n>]\n");
 }
 
 static void parse_command_line(int argc, char **argv)
@@ -116,7 +116,7 @@ static void parse_command_line(int argc, char **argv)
                                 * Banscript is no longer supported unless
                                 * explicitly enabled
                                 */
-                               log(TO_CONSOLE, LOG_INFO, "--banscript is not 
supported on this version of irqbalance, please use --polscript");
+                               log(TO_CONSOLE, LOG_INFO, "--banscript is not 
supported on this version of irqbalance, please use --policyscript\n");
                                usage();
                                exit(1);
 #endif
-- 
2.1.0


Other related posts:

  • » [irqbalance] [PATCH v2 2/5] irqbalance: fixed policyscript documentation - Petr Holasek