Mercurial > libervia-backend
view misc/README @ 1033:d87aa6bdb0b4
jp: option '-c' is not longer a flag but a string to define the profile password:
- no '-c': same behavior as before, do not connect the profile
- '-c' with not following value: autoconnect and use the default value '' as profile password
- '-c' with a following value: autoconnect and use that value as profile password
Note that previous scripts may not work. For example, even if the profile password for "test1" is empty:
jp disco -p test1 -c contact@host.net
must be changed to:
jp disco -p test1 -c -- contact@host.net
Otherwise, argparse will think that "contact@host.net" is the password and that the target JID is missing.
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 07 May 2014 16:10:20 +0200 |
parents | c328bcc4db71 |
children | beaf8d4475e4 |
line wrap: on
line source
This directory contains files related to SàT but not directly used by it. * file _jp: This is the completion file for zsh. To use it, you need to have it in a path accessible in your fpath variable, and to have completion activated. This can be done by the following commands in your .zshrc: ### .zshrc completion ### fpath=(/path/to/directory/with/_jp/ $fpath) autoload -U compinit compinit ### end of .zshrc completion ### Then, you should be able to complete a jp command line by pressing [TAB].