X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=recover-src%2Fhelp.c;h=02690158827ac191d9660732e1e0b117b4e666ab;hb=cdbbeef9cde260e429854dd313bc0bf7560e1e24;hp=a89759b971a6dd08719ffbbc2d044eb2a62b7500;hpb=6663e25ecad46c729d9be4f8585c51b523ac9044;p=debian%2Famanda diff --git a/recover-src/help.c b/recover-src/help.c index a89759b..0269015 100644 --- a/recover-src/help.c +++ b/recover-src/help.c @@ -24,15 +24,17 @@ * 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"); @@ -54,11 +56,13 @@ void help_list P((void)) 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("listhost - list hosts\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(" {YYYY-MM-DD-HH-MM-SS} - 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"); }