[go: up one dir, main page]

File: usage-up.c

package info (click to toggle)
rdup 1.1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,324 kB
  • sloc: ansic: 3,840; sh: 3,361; exp: 271; makefile: 78; ruby: 36; perl: 4
file content (33 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * Copyright (c) 2009 - 2011 Miek Gieben
 * See LICENSE for the license
 */

#include "rdup-up.h"

extern char *PROGNAME;

void
usage_up(FILE *f)
{
        fprintf(f, _("USAGE: %s [OPTION]... DIRECTORY\n"), PROGNAME);
	fputs( _("\
Update a directory tree with an rdup archive.\n\
\n\
        DIRECTORY\twhere to unpack the archive\n\
\n\
\n\
    OPTIONS:\n\
	-t\t\tcreate DIRECTORY if it does not exist\n\
	-s NUM\t\tstrip NUM leading path components\n\
	-r PATH\t\tstrip PATH from each pathname\n\
	-n\t\tdry run, do not touch the filesystem\n\
	-V\t\tprint version\n\
	-T\t\tshow table of contents. DIRECTORY is optional\n\
	-h\t\tthis help\n\
	-v\t\tbe more verbose and print processed files to stdout\n\
\n\
Report bugs to <miek@miek.nl>\n\
Licensed under the GPL version 3.\n\
See the file LICENSE in the source distribution of rdup.\n"), f);
}