help.c

来自「Linux内核监控工具。 Linux内核监控工具。 Linux内核监控工具。」· C语言 代码 · 共 48 行

C
48
字号
/**************************************************************************                          help.c  -  description                             -------------------    begin                : Tue Dec  5 22:08:03 EET 2000    copyright            : (C) 2000-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 "respmd.h"void show_menu(int n){ switch(n) {  case 1:   printf("\nLinux Monitor: Service Response Monitor\n");   printf("Version: %s\n",VERSION);   break;  case 2:   printf("\nUsage: servpd [option] file\n");   printf("\n");   printf("Example 1: servpd linux_mon.conf\n");   printf("Main operation mode:\n");   printf("\n");   printf("-H host.name	set hostname by hand.\n");   printf("-V 		shows version info.\n");   printf("-h		shows this help.\n");   break; } }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?