[Libssh] Invalid options / unknown option

Aris Adamantiadis aris at 0xbadc0de.be
Thu Jan 8 13:46:52 CET 2009


Hello,
Did you modify the samplessh.c file to add that option ? It's a standard 
getopt() based routine. Maybe you better copy paste into your own code 
the parts that you need than remove the parts you don't need, samplessh 
is a very limited ssh client...

Regards,
Aris
Luke Chadwick wrote, On 8/01/2009 13:12:
> Hey All,
>    I've been trying to add another command line argument to the 
> sample.c and I haven't had much luck. It keeps complaining about it 
> being an 'libssh-0.2/.libs/lt-samplessh: invalid option -- q' and also 
> an 'unknown option q'. I can find where its doing the later but I 
> can't for the life of me work out what is going wrong.
>
> Regards,
>
> Luke
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Libssh mailing list
> Libssh at cerkinfo.be
> http://www.cerkinfo.be/cgi-bin/mailman/listinfo/libssh
>   




More information about the Libssh mailing list