📄 help.c
字号:
/************************************************************************** help.c - description ------------------- begin : Tue Dec 5 22:08:03 EET 2000 copyright : (C) 2001-2002 by Petri Turunen email : petri.turunen@pete.fi.eu.org ***************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/#ifdef HAVE_CONFIG_H#include <config.h>#endif#include<stdio.h>#include"lparser.h"void show_menu(int n){switch(n){ case 1: printf("\nLinux Monitor: syslog parser\n"); printf("Version: %s\n",VERSION); break; case 2: printf("\nUsage: lparser [option] -f fifo_file config_file\n"); printf("\n"); printf("Example 1: lparser -f /dev/syslog /etc/linux_mon.conf\n"); printf("Main operation mode:\n"); printf("\n"); printf("-f fifo_file path for FIFO file.\n"); printf("-n value set nice value.\n"); printf(" value in here(-20 to 19) -20 is highest 19 is lowest.\n"); printf("-V shows version info.\n"); printf("-h shows this help.\n"); break;}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -