lazbuild switch case sensitive lazarus / 21-General ---------------------------------------------------------------------- dbannon · 2021-08-08 04:15 I have just noticed this and am uncertain if I should think it as a bug or just be aware of it ! The lazarus, startlazarus and lazbuild commands all take a parameter, --pcp=some_config_dir, perhaps on the command line, perhaps in lazarus.cfg.  Good. But lazbuild will not accept --PCP, lazarus will. Now, I come from a Unix world and expect things to be case sensitive, most linux commands are case sensitive to switches so I should not be surprised.  However, its the difference between lazarus and lazbuild commands that worry me, lazarus is case insensitive, pascal is too. Thoughts anyone ? Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i db@dell:$ $HOME/bin/Lazarus/trunk-git/lazbuild  -B --pcp=$HOME/.Laz_trunk-git blar.lpiSetPrimaryConfigPath NewValue="/home/dbannon/.Laz_trunk-git" -> "/home/dbannon/.Laz_trunk-git" db@dell:$ $HOME/bin/Lazarus/trunk- git/lazbuild  -B --PCP=$HOME/.Laz_trunk-git blar.lpiInvalid option at position 2: "PCP"  I have just demonstrated this "issue" on both lazarus_fixes_2_2 and trunk. Davo ---------------------------------------------------------------------- trev · 2021-08-08 06:02 Traditionally Unix command line switches are case sensitive. For example: Quote       -d          Start in diff mode.  There should be  two,  three  or  four                    file  name arguments.  Vim will open all the files and show                    differences between them.  Works like vimdiff(1).        -d {device} Open {device} for use as a terminal.  Only  on  the  Amiga.                    Example: "-d con:20/30/600/150".        -D          Debugging.   Go  to debugging mode when executing the first                    command from a script. "lazbuild --help" or simply "lazbuild" shows the command line switches are all lowercase as does the man page. I wouldn't expect uppercase to work. As for the Lazarus IDE, that's a different kettle of graphical fish that originally swam in the Windows ocean.