which

mk mrkafk at gmail.com
Fri Feb 5 12:35:39 EST 2010


mk wrote:
> 
>  > What I can say however:
>  >
>  > 1/ your interface is somehow broken. You ask actions through options (-c
>  > -y -s), meaning one can possibly use all these 3 options  together. Your
>  > code won't handle it (you are using elif statements). What happens if I
>  > use no option at all ?


Arrgh this is my bad day. You get this:

Linux RH [17:35] root ~ # cssh.py -i linux

You have to specify exactly one of the following:
  - command to run remotely, using -c command / --cmd command, or
  - script to run remotely, using -s scriptfile / --script scriptfile, or
  - file/directory to copy, using -y file_or_dir / --copy file_or_dir




More information about the Python-list mailing list