⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 help.c

📁 开源备份软件源码 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that a
💻 C
字号:
/* * Amanda, The Advanced Maryland Automatic Network Disk Archiver * Copyright (c) 1991-1998, 2000 University of Maryland at College Park * All Rights Reserved. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name of U.M. not be used in advertising or * publicity pertaining to distribution of the software without specific, * written prior permission.  U.M. makes no representations about the * suitability of this software for any purpose.  It is provided "as is" * without express or implied warranty. * * U.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL U.M. * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * Authors: the Amanda Development Team.  Its members are listed in a * file named AUTHORS, in the root directory of this distribution. *//* * $Id: help.c,v 1.12 2006/05/25 01:47:14 johnfranks Exp $ * * implements the "help" command in amrecover */#include "amanda.h"#include "amrecover.h"/* print a list of valid commands */voidhelp_list(void){    g_printf(_("valid commands are:\n\n"));    g_printf(_("add path1 ...     - add to extraction list (shell wildcards)\n"));    g_printf(_("addx path1 ...    - add to extraction list (regular expressions)\n"));    g_printf(_("cd directory      - change cwd on virtual file system (shell wildcards)\n"));    g_printf(_("cdx directory     - change cwd on virtual file system (regular expressions)\n"));    g_printf(_("clear             - clear extraction list\n"));    g_printf(_("delete path1 ...  - delete from extraction list (shell wildcards)\n"));    g_printf(_("deletex path1 ... - delete from extraction list (regular expressions)\n"));    g_printf(_("extract           - extract selected files from tapes\n"));    g_printf(_("exit\n"));    g_printf(_("help\n"));    g_printf(_("history           - show dump history of disk\n"));    g_printf(_("list [filename]   - show extraction list, optionally writing to file\n"));    g_printf(_("lcd directory     - change cwd on local file system\n"));    g_printf(_("ls                - list directory on virtual file system\n"));    g_printf(_("lpwd              - show cwd on local file system\n"));    g_printf(_("mode              - show the method used to extract SMB shares\n"));    g_printf(_("pwd               - show cwd on virtual file system\n"));    g_printf(_("quit\n"));    g_printf(_("listhost          - list hosts\n"));    g_printf(_("listdisk [diskdevice]              - list disks\n"));    g_printf(_("setdate {YYYY-MM-DD|--MM-DD|---DD} - set date of look\n"));    g_printf(_("        {YYYY-MM-DD-HH-MM-SS}      - set date of look\n"));    g_printf(_("setdisk diskname [mountpoint]      - select disk on dump host\n"));    g_printf(_("sethost host                       - select dump host\n"));    g_printf(_("setdevice [[-h host] device]       - select tape server and/or device\n"));    g_printf(_("setmode smb|tar                    - select the method used to extract SMB shares\n"));    g_printf("\n");}

⌨️ 快捷键说明

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