a1de6636dcedd38eedc6d543b64bc6848f4ee4b8
[captive.git] / src / client / cmdline / captive-cmdline.pod.pl.in
1 #! /usr/bin/perl
2
3 # $Id$
4 # perlpod(1) source for captive-cmdline(1) man page
5 # Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; exactly version 2 of June 1991 is required
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
20
21 use vars qw($VERSION);
22 $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
23 use strict;
24 use warnings;
25
26
27 my $sbindir='@sbindir@';
28 $sbindir=~s#\$\Q{exec_prefix}\E#'@exec_prefix@';#ge;
29 $sbindir=~s#\$\Q{prefix}\E#'@prefix@';#ge;
30 $sbindir="/usr/sbin" if $sbindir=~/^@/;
31
32 print <<'POD_EOF';
33 =head1 NAME
34
35 @PACKAGE@-cmdline - Command-line client for B<@PACKAGE@>(7) NTFS disk access
36
37
38 =head1 SYNOPSIS
39
40 =for man
41 \fB@PACKAGE@-cmdline\fP \fB--load-module\fP=\fB/tmp/ntoskrnl.exe\fP
42 .br
43                 \fB--filesystem\fP=\fB/tmp/ntfs.sys\fP
44 .br
45 POD_EOF
46 print "\t\t".'[\fB--sandbox-server\fP=\fB'.$sbindir.'/@PACKAGE@-sandbox-server\fP]'."\n";
47 print <<'POD_EOF';
48                 [\fB--bug-pathname\fP=\fB/tmp/captive-bug-%FT%T.captivebug.xml.gz\fP]
49                 [\fB--disk\fP|\fB--cdrom\fP] [\fB--ro\fP|\fB--blind\fP|\fB--rw\fP] {\fBimage-file\fP|\fBdevice\fP}
50
51
52 =head1 DESCRIPTION
53
54 Simple B<ftp>(1)-like client to access disks by Microsoft Windows drivers.
55 Use if B<lufs-@PACKAGE@fs>(7) not available; also useful during debugging.
56
57
58 POD_EOF
59 require "../../libcaptive/client/options.pod.pl";
60 print <<'POD_EOF';
61 =head1 SEE ALSO
62
63 B<@PACKAGE@>(7), B<lufs-@PACKAGE@fs>(7)
64
65
66 =head1 AUTHOR
67
68 Jan Kratochvil <B<project-@PACKAGE@@jankratochvil.net>>,
69                 I<http://www.jankratochvil.net/>
70 POD_EOF
71 1;