[go: up one dir, main page]

File: usage-tr.c

package info (click to toggle)
rdup 1.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,996 kB
  • ctags: 185
  • sloc: ansic: 3,326; sh: 3,221; exp: 166; makefile: 64
file content (39 lines) | stat: -rw-r--r-- 1,185 bytes parent folder | download
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
34
35
36
37
38
39
/*
 * Copyright (c) 2009 Miek Gieben
 * See LICENSE for the license
 */

#include "rdup-tr.h"

extern char *PROGNAME;

void
usage_tr(FILE *f)
{
        fprintf(f, _("USAGE: %s [OPTION]... \n"), PROGNAME);
	fputs( _("\
Translate rdup output to something else	and optionally filter it\n\
through other processes. The input must be rdup's default ouput\n\
format: \'%p%T %b %u %g %l %s %n\\n\'.\n\
The output is equal to rdup -c ouput.\n\
\n\
\n\
    OPTIONS:\n\
        -c\t\tforce output to tty\n\
        -P CMD,opt0,...,opt6\n\
	    \t\tfilter through CMD\n\
	\t\tthis may be repeated, output will be filtered\n\
	\t\tthrough all commands\n\
	-X FILE\t\tencrypt all paths with AES and the key from FILE\n\
	-Y FILE\t\tdecrypt all paths with AES and the key from FILE\n\
	-h\t\tthis help\n\
	-V\t\tprint version\n\
        -O FMT\t\toutput format: pax, cpio, tar or rdup\n\
	\t\trdup uses format: \"%p%T %b %u %g %l %s\\n%n%C\"\n\
	-L\t\tset input format to a list of pathnames\n\
	-v\t\tbe more verbose and print processed files to stderr\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);
}