(trunk daemon) #3511 "setting TR_DEBUG environment variable has no effect" -- rename --log-err as --log-error for consistency

This commit is contained in:
Charles Kerr 2010-09-22 22:19:21 +00:00
parent 60132d3781
commit 0d27dff042
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ static const struct tr_option options[] =
{ 'u', "username", "Set username for authentication", "u", 1, "<username>" },
{ 'v', "password", "Set password for authentication", "v", 1, "<password>" },
{ 'V', "version", "Show version number and exit", "V", 0, NULL },
{ 810, "log-err", "Show error messages", NULL, 0, NULL },
{ 810, "log-error", "Show error messages", NULL, 0, NULL },
{ 811, "log-info", "Show error and info messages", NULL, 0, NULL },
{ 812, "log-debug", "Show error, info, and debug messages", NULL, 0, NULL },
{ 'w', "download-dir", "Where to save downloaded data", "w", 1, "<path>" },

View File

@ -27,7 +27,7 @@
.Op Fl V
.Op Fl w Ar download-dir
.Op Fl e Ar logfile
.Op Fl log-err | log-info | log-debug
.Op Fl log-error | log-info | log-debug
.Ek
.Sh DESCRIPTION
.Nm
@ -118,7 +118,7 @@ Show version number and exit
Where to store downloaded data.
.It Fl e Fl -logfile
Where to store transmission's log messages.
.It Fl -log-err
.It Fl -log-error
Show error messages
.It Fl -log-info
Show error and info messages