X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=recover-src%2Fhelp.c;h=ecab73702cff9ac60c71c5001d9669c1318e37b1;hb=d97071000e65ce0c52c9043046acdc1c125397b0;hp=a89759b971a6dd08719ffbbc2d044eb2a62b7500;hpb=eefb15c5c04acb3c75f0c704ea664feb1bbae75c;p=debian%2Famanda diff --git a/recover-src/help.c b/recover-src/help.c index a89759b..ecab737 100644 --- a/recover-src/help.c +++ b/recover-src/help.c @@ -24,41 +24,45 @@ * file named AUTHORS, in the root directory of this distribution. */ /* - * $Id: help.c,v 1.8 2002/03/06 19:23:20 martinea Exp $ + * $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 */ -void help_list P((void)) +void +help_list(void) { - printf("valid commands are:\n\n"); + g_printf(_("valid commands are:\n\n")); - printf("add path1 ... - add to extraction list (shell wildcards)\n"); - printf("addx path1 ... - add to extraction list (regular expressions)\n"); - printf("cd directory - change cwd on virtual file system (shell wildcards)\n"); - printf("cdx directory - change cwd on virtual file system (regular expressions)\n"); - printf("clear - clear extraction list\n"); - printf("delete path1 ... - delete from extraction list (shell wildcards)\n"); - printf("deletex path1 ... - delete from extraction list (regular expressions)\n"); - printf("extract - extract selected files from tapes\n"); - printf("exit\n"); - printf("help\n"); - printf("history - show dump history of disk\n"); - printf("list [filename] - show extraction list, optionally writing to file\n"); - printf("lcd directory - change cwd on local file system\n"); - printf("ls - list directory on virtual file system\n"); - printf("lpwd - show cwd on local file system\n"); - printf("mode - show the method used to extract SMB shares\n"); - printf("pwd - show cwd on virtual file system\n"); - printf("quit\n"); - printf("listdisk [diskdevice] - list disks\n"); - printf("setdate {YYYY-MM-DD|--MM-DD|---DD} - set date of look\n"); - printf("setdisk diskname [mountpoint] - select disk on dump host\n"); - printf("sethost host - select dump host\n"); - printf("settape [host:][device|default] - select tape server and/or device\n"); - printf("setmode smb|tar - select the method used to extract SMB shares\n"); - printf("\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"); }