Re: [PATCH] tgtadm: add missing outgoing option to the help of unbind operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed,  6 Nov 2013 02:59:19 +0900
Ryusuke Konishi <konishi.ryusuke@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux