You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deprecate ./build_tsmp2.sh --<component-model> in favor of ./build_tsmp2.sh <component-model> #114
More generally, build_tsmp2.sh should make a distinction between options and arguments, e.g../build_tsmp2.sh --<options> <arguments>. The component models should be interpreted as arguments while the rest of the switches are options. How to distinguish between these two?
arguments: What the script/utility acts on. Examples might make this clearer:
ls <which directories to list>
cp <source and destination files/folders>
ssh <what server to connect to>
tar <what files/folders to archive>
build_tsmp2.sh <what model/s to build>
options: Modifies the default behavior of a script/utility. Usually options are optional (but not always).
changed the title [-]Deprecate `--<component-model>` in favor of `<model>`[/-][+]Deprecate `./build_tsmp2.sh --<component-model>` in favor of `./build_tsmp2.sh <component-model>`[/+]on Nov 28, 2025
POSIX does not make this distinction as such. The arguments they mention are option arguments or arguments to the options, not directly to the utility.
Nonetheless, I welcome the change.
Standards often lag behind common practise (or de facto standards as you will).
Activity
[-]Deprecate `--<component-model>` in favor of `<model>`[/-][+]Deprecate `./build_tsmp2.sh --<component-model>` in favor of `./build_tsmp2.sh <component-model>`[/+]mvhulten commentedon Jun 3, 2026
POSIX does not make this distinction as such. The arguments they mention are option arguments or arguments to the options, not directly to the utility.
Nonetheless, I welcome the change.
Standards often lag behind common practise (or de facto standards as you will).