Package: timelimit
Version: 1.3-1
Severity: normal

Timelimit errors out when the arguments to the commands have leading -'s
unless the command is prepended with '--'.  Timelimit appears to eat up 
everything
starting with a '-' until it consumes a '--'.
Example:


thumper/~  timelimit  -s9 -t5 netstat -rn
timelimit: invalid option -- r
timelimit: usage: timelimit [-q] [-S ksig] [-s wsig] [-T ktime] [-t wtime] 
command

thumper/~  timelimit  -s9 -t5 netstat -- -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.168.1.4     0.0.0.0         UG        0 0          0 eth0

thumper/~  timelimit  -s9 -t5 -- netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.168.1.4     0.0.0.0         UG        0 0          0 eth0




A simple fix would be to say in the man page (and the help) that the command 
must
always be preceded by '--'.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26
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 timelimit depends on:
ii  libc6                         2.7-15     GNU C Library: Shared libraries

timelimit recommends no packages.

timelimit suggests no packages.

-- debconf-show failed



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

Reply via email to