Bugs item #313500, was changed at 2012-01-09 07:09 by Igor Murzov You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313500&group_id=100114
>Status: Closed 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: Invalid Original bug number: Initial Comment: ssh-copy-id -[TAB] -> fail fix: https://github.com/grooverdan/bash-completion/commit/3ae079236086a4369102a038bb4432669fff9237 ---------------------------------------------------------------------- >Comment By: Igor Murzov (garik-guest) Date: 2012-01-13 06:05 Message: Closed. ---------------------------------------------------------------------- Comment By: Daniel Black (grooverdan-guest) Date: 2012-01-13 04: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-09 20: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 16: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 16: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 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel