I don't know about --add-formula but according to the docs (http://openbabel.org/docs/2.3.0/Command-line_tools/babel.html#options) this can be done as follows:
obabel -:CC(=O)Cl -osdf --add FORMULA See "obabel -L descriptors" for more info. - Noel On 5 April 2011 16:54, <ariste...@cbm.uam.es> wrote: > Hello, i'm unable to add a formula in a .sdf file with 2.3.0, is this > option broken with the new Open Babel release? > > Thank you, > David > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss