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

Clearer wording for ssh.1 -o option=value

While reading man ssh I got slightly confused about the syntax of
the -o option. Actually I had to guess. I'd like to suggest this
change since I think it would be clearer.

Index: ssh.1
RCS file: /cvs/src/usr.bin/ssh/ssh.1,v
retrieving revision 1.217
diff -u -p -r1.217 ssh.1
--- ssh.1	8 Dec 2005 14:59:44 -0000	1.217
+++ ssh.1	22 Dec 2005 20:39:03 -0000
@@ -68,7 +68,7 @@
 .Op Fl m Ar mac_spec
 .Op Fl O Ar ctl_cmd
-.Op Fl o Ar option
+.Op Fl o Ar option=value
 .Op Fl p Ar port
 .Oo Fl R\ \&
 .Sm off
@@ -715,7 +715,7 @@ Valid commands are:
 (check that the master process is running) and
 .Dq exit
 (request the master to exit).
-.It Fl o Ar option
+.It Fl o Ar option=value
 Can be used to give options in the format used in the configuration file.
 This is useful for specifying options for which there is no separate
 command-line flag.

The errormessage is also not ideal, I wouldn't know how to make it
clearer though.

  ~% ssh -o TCPKeepAlive somehost
  command-line line 0: Missing yes/no argument.

# Han