summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-02 18:02:26 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-02 18:02:26 +0200
commitce864eef78398036b02a680c40a918f795fc06e3 (patch)
tree84ead654c7737e9c03ab51568ca77c9783e81267
parent0038bded60d5a7a13d725b18d811123c0faa5e25 (diff)
removed doc/apt-perl, added perldoc instead
-rwxr-xr-xbin/apt-perl33
-rw-r--r--doc/apt-perl14
2 files changed, 33 insertions, 14 deletions
diff --git a/bin/apt-perl b/bin/apt-perl
index 3046aa6..b8138b4 100755
--- a/bin/apt-perl
+++ b/bin/apt-perl
@@ -107,3 +107,36 @@ if ($query eq 'why') {
} elsif ($query eq 'rdeps') {
print_deps(revdeps($package->{RevDependsList}));
}
+
+__END__
+
+=head1 NAME
+
+apt-perl - reverse dependency displayer using ApgPkg::Cache
+
+=head1 SYNOPSIS
+
+apt-perl I<command> I<package>
+
+=head1 DESCRIPTION
+
+B<apt-perl> displays various informations based on a I<package>s reverse
+dependencies
+
+I<command> may be one of:
+
+=over
+
+=item why
+
+Show dependencies that justify the installation of a package
+
+=item why-not
+
+Show dependencies that prohibit the installation of a package
+
+=item rdeps
+
+Show all reverse dependencies of a package
+
+=back
diff --git a/doc/apt-perl b/doc/apt-perl
deleted file mode 100644
index 5d5c041..0000000
--- a/doc/apt-perl
+++ /dev/null
@@ -1,14 +0,0 @@
-apt-perl - reverse dependency displayer using ApgPkg::Cache
-
-Usage: apt-perl command packagename
-
-command may be one of
-
- why
- Show dependencies that justify the installation of a package
-
- why-not
- Show dependencies that prohibit the installation of a package
-
- rdeps
- Show all reverse dependencies of a package