diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-13 13:44:48 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-13 13:44:48 +0000 |
commit | 404c7e99a6a75fbebb05f7e3c50837b54d4ef146 (patch) | |
tree | b7106466466aacda7d75847707ccb606fac24fa3 | |
parent | 8082ff305e7973b52c816cea5d61923deccc1fa6 (diff) | |
download | urpmi-404c7e99a6a75fbebb05f7e3c50837b54d4ef146.tar urpmi-404c7e99a6a75fbebb05f7e3c50837b54d4ef146.tar.gz urpmi-404c7e99a6a75fbebb05f7e3c50837b54d4ef146.tar.bz2 urpmi-404c7e99a6a75fbebb05f7e3c50837b54d4ef146.tar.xz urpmi-404c7e99a6a75fbebb05f7e3c50837b54d4ef146.zip |
Add a --debug option to print internal callback (instead of using --verbose for that).
-rw-r--r-- | man/C/urpmf.8 | 3 | ||||
-rw-r--r-- | po/fr.po | 2 | ||||
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rwxr-xr-x | urpmf | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/man/C/urpmf.8 b/man/C/urpmf.8 index 950e1cf6..e85cabd1 100644 --- a/man/C/urpmf.8 +++ b/man/C/urpmf.8 @@ -72,7 +72,8 @@ dependencies only in media marked as update. .IP "\fB\--url\fP" Prints and searches through url. .IP "\fB\--verbose\fP" -Verbose mode with various messages. +Verbose mode. urpmf will emit various messages related to the parsing of hdlist +files for your media. .IP "\fB-i\fP" Ignore case distinctions in any patterns. .IP "\fB-q\fP" @@ -1453,7 +1453,7 @@ msgid "" "callback is:\n" "%s\n" msgstr "" -"Le callback est :\n" +"La callback est :\n" "%s\n" #: ../urpmf:124 ../urpmi:212 ../urpmq:116 diff --git a/urpm/args.pm b/urpm/args.pm index 1e0978f3..8e2e68cb 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -143,6 +143,7 @@ my %options_spec = ( }, buildhost => \$::params{buildhost}, conflicts => \$::params{conflicts}, + debug => \$::debug, description => \$::params{description}, epoch => \$::params{epoch}, files => \$::params{files}, @@ -116,7 +116,7 @@ foreach (qw(filename group size epoch summary description sourcerpm packager bui $callback .= ' 1; }'; -$urpm->{log}(N("callback is:\n%s\n", $callback)); +$urpm->{error}(N("callback is:\n%s\n", $callback)) if our $debug; $callback = eval $callback; $@ and usage; |