Bugzilla – Attachment 188 Details for
Bug 461
ssh-copy-id is messy when invoked with no arguments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Output usage message if invoked with no arguments or "help"-like arguments
ssh-copy-id-usage.patch (text/plain), 619 bytes, created by
Colin Watson
on 2003-01-01 02:28:22 AEDT
(
hide
)
Description:
Output usage message if invoked with no arguments or "help"-like arguments
Filename:
MIME Type:
Creator:
Colin Watson
Created:
2003-01-01 02:28:22 AEDT
Size:
619 bytes
patch
obsolete
>Index: ssh-copy-id >=================================================================== >RCS file: /cvs/openssh/contrib/ssh-copy-id,v >retrieving revision 1.2 >diff -p -u -r1.2 ssh-copy-id >--- ssh-copy-id 8 Oct 2001 01:54:26 -0000 1.2 >+++ ssh-copy-id 31 Dec 2002 15:25:12 -0000 >@@ -29,7 +29,12 @@ if [ -z "`eval $GET_ID`" -a -r "${ID_FIL > fi > > if [ -z "`eval $GET_ID`" ]; then >- echo "$0: ERROR: No identities found" >+ echo "$0: ERROR: No identities found" >&2 >+ exit 1 >+fi >+ >+if [ "$#" -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then >+ echo "Usage: $0 [-i [identity_file]] [user@]machine" >&2 > exit 1 > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 461
: 188