https://bugzilla.mindrot.org/show_bug.cgi?id=3575

Darren Tucker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Darren Tucker <[email protected]> ---
(In reply to Max Chinni from comment #0)
> When running the executable /usr/lib/openssh/sftp-server, there is
> an issue with the displayed message of the usage parameter "-Q".
> 
>     # /usr/lib/openssh/sftp-server -h
>     usage: sftp-server [-ehR] [-d start_directory] [-f log_facility]
> [-l log_level]
>             [-P denied_requests] [-p allowed_requests] [-u umask]
>            sftp-server -Q protocol_feature
>     # /usr/lib/openssh/sftp-server -Q protocol_feature
>     Invalid query type
> 
> I think "-Q" supports only "requests":

Correct.  Quoting sftp-server(8):

     -Q protocol_feature
             Queries protocol features supported by sftp-server.  At
present
             the only feature that may be queried is "requests", which
may be
             used to deny or allow specific requests (flags -P and -p
             respectively).

> The incorrect usage parameter in the executable's message can cause
> confusion and frustration for users trying to utilize the tool.

protocol_feature is not intended as a literal, it's a placeholder for
the correct argument same as the other options that take an argument
listed in the usage.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to