[Bash-completion-devel] [bash-completion-Bugs][313500] ssh-copy-id doesn't support --help function. not even in upstream cvs
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Fri Jan 13 00:01:45 UTC 2012
Bugs item #313500, was changed at 2012-01-09 14:09 by Daniel Black
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313500&group_id=100114
Status: Open
Priority: 3
Submitted By: Daniel Black (grooverdan-guest)
Assigned to: Nobody (None)
Summary: ssh-copy-id doesn't support --help function. not even in upstream cvs
Distribution: Fedora / Red Hat
Originally reported in: None
Milestone: None
Status: None
Original bug number:
Initial Comment:
ssh-copy-id -[TAB]
-> fail
fix:
https://github.com/grooverdan/bash-completion/commit/3ae079236086a4369102a038bb4432669fff9237
----------------------------------------------------------------------
Comment By: Daniel Black (grooverdan-guest)
Date: 2012-01-13 11:01
Message:
$ ssh-copy-id -h
Usage: /usr/bin/ssh-copy-id [-i [identity_file]] [user@]machine
$ ssh-copy-id --help
Usage: /usr/bin/ssh-copy-id [-i [identity_file]] [user@]machine
sorry - no idea what I was thinking.
Looking at the upstream cvs if clearly has both opions.
----------------------------------------------------------------------
Comment By: Ville Skyttä (scop-guest)
Date: 2012-01-10 03:52
Message:
--help shows a usage message in the ssh-copy-id versions I have access to, and "ssh-copy-id -<TAB>" completes properly to -i (just tested on Fedora 16). I'd much rather fix the usage message parsing issue if there is one rather than hardcode any option lists. -h is also AFAIK a non-existent option, but --help feels like a safer bet than -h as something that wouldn't mean something different in possible future ssh-copy-id versions. Need more info why it doesn't work for Daniel.
----------------------------------------------------------------------
Comment By: Igor Murzov (garik-guest)
Date: 2012-01-09 23:20
Message:
Daniel, can you check whether `ssh-copy-id -h` shows usage message or not?
----------------------------------------------------------------------
Comment By: Igor Murzov (garik-guest)
Date: 2012-01-09 23:08
Message:
Interestingly, my ssh-copy-id shows usage message:
$ ssh-copy-id --help
Usage: /usr/bin/ssh-copy-id [-i [identity_file]] [user@]machine
But I don't mind hardcoding options list for ssh-copy-id.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313500&group_id=100114
More information about the Bash-completion-devel
mailing list