summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 5bca88d0..eade3974 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -518,6 +518,18 @@ sub parse_cmdline {
$ret;
}
+sub copyright {
+ my ($prog_name, @copyrights) = @_;
+ N("%s version %s
+%s
+This is free software and may be redistributed under the terms of the GNU GPL.
+
+usage:
+", $prog_name, $urpm::VERSION,
+ join("\n", map { N("Copyright (C) %s by %s", @$_) } @copyrights)
+ );
+}
+
1;
__END__