Hi

Thanks a lot! I'll add it on next upload.

Best regards,

// Ola

On Mon, Oct 22, 2007 at 01:24:41PM +0300, Evgeni Dobrev wrote:
> Package: dhttpd
> Version: 1.02a-16
> Severity: normal
> Tags: patch
> 
> 
> -added documentation for the -r and -d options in the man page
> -added documentation for the -r option in the usage message
> 
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: powerpc (ppc)
> 
> Kernel: Linux 2.6.22-2-powerpc
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages dhttpd depends on:
> ii  libc6                         2.6.1-5    GNU C Library: Shared libraries
> ii  libgcc1                       1:4.2.2-3  GCC support library
> ii  libstdc++6                    4.2.2-3    The GNU Standard C++ Library v3
> 
> dhttpd recommends no packages.
> 
> -- no debconf information

> diff -ruN dhttpd-1.02a/dhttpd.1 dhttpd-1.02a_new/dhttpd.1
> --- dhttpd-1.02a/dhttpd.1     2007-10-22 13:15:42.000000000 +0300
> +++ dhttpd-1.02a_new/dhttpd.1 2007-10-22 12:55:11.000000000 +0300
> @@ -15,15 +15,21 @@
>  an HTTP daemon: to transmit files.
>  .SH OPTIONS
>  .TP
> -.B \-h
> -Show summary of options.
> -.TP
>  .B \-p portnum
>  Set the port the web server runs on
>  .B http://servername/
> -The default location to serve files from it /var/www/. You will need an
> -index.html if you want to be able to use exactly that location. If not you
> -have to enter the file name too.
> +.TP
> +.B \-r webdir
> +Serve requests under this directory. The default location to serve files 
> from is 
> +.B /var/www/. 
> +You will need an index.html if you want to be able to use exactly that 
> location. If not, you have to enter the file name too.
> +.TP
> +.B \-d         
> +Do not fork into background on startup.
> +.TP
> +.B \-h
> +Show summary of options.
> +
>  .SH AUTHOR
>  This manual page was written by Christoph Lameter <[EMAIL PROTECTED]>,
>  for the Debian GNU/Linux system.
> diff -ruN dhttpd-1.02a/src/main.cc dhttpd-1.02a_new/src/main.cc
> --- dhttpd-1.02a/src/main.cc  2007-10-22 13:15:42.000000000 +0300
> +++ dhttpd-1.02a_new/src/main.cc      2007-10-22 12:49:08.000000000 +0300
> @@ -120,8 +120,9 @@
>                               printf( "usage: %s [options]\n", argv[ 0 ] );
>                               printf( "  -p (port)  Use a different port than 
> the default of %i\n", DEFAULTPORT );
>                               printf( "  -b         Bind to this address 
> instead of %s\n", DEFAULTBINDADDR);
> -                             printf( "  -h         Help\n" );
> +                             printf( "  -r         Serve requests under this 
> directory instead of %s\n", ROOT_DIR);
>                               printf( "  -d         Do not fork into 
> Background on startup\n" );
> +                             printf( "  -h         Help\n" );
>                               return 0;
>  
>                       case 'p':


-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
|  http://opalsys.net/                 +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to