X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Fmain.c;h=7460d7dd3903075bcff685e49565a4f9e7e0c739;hp=f979560c0a3a5853cd13d1a227d125ffbd81d14b;hb=8d4197bb9ba5bbcef21409231ed8903b0cac353a;hpb=ddd2ef55b78a62c4bc3daad18bef8a90e85a2052 diff --git a/restore/main.c b/restore/main.c index f979560..7460d7d 100644 --- a/restore/main.c +++ b/restore/main.c @@ -50,7 +50,7 @@ static const char copyright[] = static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id: main.c,v 1.3 1999/10/11 12:59:20 stelian Exp $"; + "$Id: main.c,v 1.4 1999/10/11 13:08:09 stelian Exp $"; #endif /* not lint */ #include @@ -361,12 +361,17 @@ main(int argc, char *argv[]) static void usage(void) { +#ifdef KERBEROS +#define kerbflag "k" +#else +#define kerbflag +#endif (void)fprintf(stderr, "usage:\t%s\n\t%s\n\t%s\n\t%s\n\t%s\n", - "restore -i [-chkmuvy] [-b blocksize] [-f file] [-s fileno]", - "restore -r [-ckuvy] [-b blocksize] [-f file] [-s fileno]", - "restore -R [-ckuvy] [-b blocksize] [-f file] [-s fileno]", - "restore -x [-chkmuvy] [-b blocksize] [-f file] [-s fileno] [file ...]", - "restore -t [-chkuvy] [-b blocksize] [-f file] [-s fileno] [file ...]"); + "restore -i [-ch" kerbflag "muvy] [-b blocksize] [-f file] [-s fileno]", + "restore -r [-c" kerbflag "uvy] [-b blocksize] [-f file] [-s fileno]", + "restore -R [-c" kerbflag "uvy] [-b blocksize] [-f file] [-s fileno]", + "restore -x [-ch" kerbflag "muvy] [-b blocksize] [-f file] [-s fileno] [file ...]", + "restore -t [-ch" kerbflag "kuvy] [-b blocksize] [-f file] [-s fileno] [file ...]"); exit(1); }