summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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