On 18 Feb 2003, Jean-Marc Lasgouttes wrote: > >>>>> "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes: > > Isn't this clear enough? > > Anyway, what you want to change is in src/lyx_main.C, function parse_help().
Ok, here is a suggested change... once I started adding text began suffering from estethical indeciveness, but this looks ok. Btw, what is this business with _("some string"), I'm used to "some string". Does it have something to do with multiple language support? /Christian euler:HEAD>build-qt/src/lyx --help Usage: lyx [ command line switches ] [ name.lyx ... ] Command line switches (case sensitive): -help summarize LyX usage -userdir dir try to set user directory to dir -sysdir dir try to set system directory to dir -geometry WxH+X+Y set geometry of the main window -dbg feature[,feature]... select the features to debug, e.g. 'lyx -dbg graphics'. Type `lyx -dbg' to see the list of features -x [--execute] command where command is a lyx command. -e [--export] fmt where fmt is the export format of choice. -i [--import] fmt file.xxx where fmt is the import format of choice and file.xxx is the file to be imported. -version summarize version and build info Check the LyX man page for more details. euler:HEAD>build-qt/src/lyx -dbg List of supported debug flags: 0 none No debugging message 1 info General information 2 init Program initialisation 4 key Keyboard events handling 8 gui GUI handling 16 parser Lyxlex grammer parser 32 lyxrc Configuration files reading 64 kbmap Custom keyboard definition 128 latex LaTeX generation/execution 256 mathed Math editor 512 font Font handling 1024 tclass Textclass files reading 2048 lyxvc Version control 4096 lyxserver External control interface 8192 roff Keep *roff temporary files 16384 action User commands 32768 lyxlex The LyX Lexxer 65536 depend Dependency information 131072 insets LyX Insets 262144 files Files used by LyX 524288 workarea Workarea events 1048576 insettext Insettext/tabular messages 2097152 graphics Graphics conversion and loading 4194304 changes Change tracking 8388607 any All debugging messages Syntax: lyx -dbg feature,[feature]... Example: lyx -dbg graphics,files euler:HEAD> euler:HEAD>cvs diff src/lyx_main.C Index: src/lyx_main.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/lyx_main.C,v retrieving revision 1.136 diff -r1.136 lyx_main.C 771a772,773 > lyxerr << endl << _("Syntax: lyx -dbg feature,[feature]...") > << endl << _("Example: lyx -dbg graphics,files") << endl; 797c799 < " select the features to debug.\n" --- > " select the features to debug, e.g. 'lyx -dbg graphics'.\n" euler:HEAD> -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Design http://www.md.kth.se