Bug#493375: tgt: --op show gives a parse error
Package: tgt
Version: 20070924-1
Severity: important
% sudo tgtadm --lld --op show --mode target
tgtadm: unrecognized options: tgtadm: showtgtadm:
Try `tgtadm --help' for more information.
and the man page says
--lld [driver] --op show --mode target
show all the targets.
(come to that, what the heck is the --lld for, and what is the "driver"
option??)
Just for fun, since --help gives the options in the other order:
--lld [driver] --mode target --op show
show all the targets.
% sudo tgtadm --lld --mode target --op show
tgtadm: unrecognized options: tgtadm: targettgtadm:
Try `tgtadm --help' for more information.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.24.2 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages tgt depends on:
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libssl0.9.8 0.9.8g-10.1 SSL shared libraries
tgt recommends no packages.
-- no debconf information
Reply to: