[stgt] [PATCH] tgtadm: add missing outgoing option to the help of unbind operation
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Thu Nov 7 08:07:49 CET 2013
On Wed, 6 Nov 2013 02:59:19 +0900
Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp> wrote:
> The help message of bind operation explains that --outgoing option is
> used for an outgoing account:
>
> --lld <driver> --mode account --op bind --tid <id> --user <name> [--outgoing]
> add the specific account having <name> to
> the specific target with <id>.
> <user> could be <IncomingUser> or <OutgoingUser>.
> If you use --outgoing option, the account will
> be added as an outgoing account.
>
> However, the help message of unbind operation lacks the --outgoing
> option even though it is mandatory to delete outgoing account:
>
> --lld <driver> --mode account --op unbind --tid <id> --user <name>
> delete the specific account having <name> from specific
> target.
>
> Thus, users will see the following error since they don't know the
> --outgoing option is needed:
>
> "tgtadm: can't find the account"
>
> This fixes the issue by adding description of the outgoing option also
> to the help message of unbind operation.
>
> Signed-off-by: Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp>
> ---
> usr/tgtadm.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list