Commit Graph

27 Commits

Author SHA1 Message Date
Mark Olesen
5947f9a337 ENH: more succinct output from command-line errors.
- unknown options or missing option values now emit a shorter message
  without the entire usage. This makes it easier to identify the errors
  and is better aligned with the behaviour of GNU system tools.

  ====
     $ simpleFoam -case
     Using: OpenFOAM-plus (see www.OpenFOAM.com)
     Build: plus-01234

     Error: option '-case' requires an argument

     See 'simpleFoam -help' for usage
  ====

- provide for reduced (-help) and full (-help-full) usage information.
  In many cases the reduced usage provided sufficient and easier
  to find the information.

- make -srcDoc an alias for -doc-source

- no warnings about option aliases for future dates.
2017-11-24 10:27:11 +01:00
Mark Olesen
bad27c45fc ENH: several improvements to foamEtcFile
- lazier evaluation of project name and version based on the directory
  name. Avoids heuristics based on directory names unless really needed.

- cope with alternative directory locations.
  For example, OpenFOAM+VERSION etc.

The combination of the two above appears to be sufficient to open up
the directory naming possibilities.

- additional -list-test option (tests for existence of directory).
2017-03-23 10:31:05 +01:00
Henry Weller
6a53ed41ba Doxygen documentation: Standardized the 'See also' heading 2016-06-17 17:31:34 +01:00
Henry Weller
2b71ea6f58 Update headers 2016-06-06 17:22:23 +01:00
Henry Weller
b7243e2d19 etc/bashrc,cshrc: Simplify and automate the setting of FOAM_INST_DIR
FOAM_INST_DIR is the location of the OpenFOAM installation which defaults to
the directory containing the etc/bashrc,cshrc file.  If this default is
not appropriate FOAM_INST_DIR can be set explicitly.
2016-06-06 17:20:10 +01:00
Henry
b492fc54f3 Update headers 2015-02-06 10:11:42 +00:00
Henry
a77b7f1370 Rationalize foamJob and foamExec
Patches provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=231
2015-02-06 10:09:13 +00:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
Mark Olesen
22fae65263 BUG: FOAM_INST_DIR (or prefix) not passed correctly from foamExec 2011-04-28 15:33:38 +02:00
Mark Olesen
b55c3fb66b ENH: avoid stray options affecting _foamEval, pass FOAM_SETTINGS to foamExec 2011-04-28 08:32:00 +02:00
Mark Olesen
a66a9bbc8e BUG: FOAM_INST_DIR not preserved across versions in foamExec, foamJob 2011-04-18 10:57:21 +02:00
Mark Olesen
f691fe7896 STYLE: more consistent use of stderr for script usage 2011-02-15 16:48:26 +01:00
Mark Olesen
ba5d689110 BUG: foamExec mangled the arguments
- use function when sourcing the bashrc to avoid these problems
2011-01-19 12:54:27 +01:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
andy
14d1300a36 Revert "STyLE: More 2011 copyright dates (non-code)."
This reverts commit 2e1e671d96.
2011-01-05 18:25:32 +00:00
graham
2e1e671d96 STyLE: More 2011 copyright dates (non-code). 2011-01-05 11:48:24 +00:00
Mark Olesen
43407380f9 ENH: improve debian handling in foamEtcFile
- remove all corresponding logic from foamExec
2010-07-06 16:33:25 +02:00
Mark Olesen
fd0bcbb480 Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	bin/foamExec
2010-07-06 14:30:30 +02:00
Mark Olesen
9745b86ef3 ENH: improve foamEtcFile handling (-prefix, -version options)
- This lets foamExec use foamEtcFile as well, but debian packaging
  still needs some work
2010-07-06 14:01:15 +02:00
mattijs
502987ac7a BUG:foamExec : save arguments; handle debian naming 2010-07-06 11:43:44 +01:00
Mark Olesen
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
Mark Olesen
07283ff315 ENH: add -builtin option to paraFoam (VTK builtin OpenFOAM reader)
- Also adjusted formatting of usage to match what argList generates
2010-02-05 08:36:44 +01:00
Mark Olesen
d2a78f7e96 finally drop references to ~/.OpenFOAM-<ver> (use ~/.OpenFOAM/<ver>) 2009-05-07 10:37:55 +02:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
4d96b876e4 cleanup of foam-pack scripts
- removed legacy foamDiffSourceList, foamPackChanged
  - added foamPackDoxygen for separate distribution of docs
    handles -prefix option
  - misc. cosmetic changes
2008-07-20 15:53:43 +02:00
Mark Olesen
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
OpenFOAM-admin
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00