diff options
author | eldritch horrors <pennae@lix.systems> | 2024-08-09 00:58:38 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-08-09 11:33:09 +0000 |
commit | baa4fda34032373f2e4d5fdb5565132522c24983 (patch) | |
tree | bc7b83c92cd913a3bad6c6ac5ab9b428ef66f6ce /lix-doc | |
parent | 6491cde997297bf0e8b8c685d52792785e8980f3 (diff) |
main: require argv[0]
sure, linux has been providing argv[0] by default for a while now. other
OSes may not be as forthcoming though, and relying on the OS to create a
world in which we can just make assumptions we could test for instead is
unnecessarily lazy. we *could* default argv0, but that's a little silly.
notably we abort instead of returning normally to avoid confusions where
a caller interprets our exit status like a Worker build results bitmask.
Change-Id: Id73f8cd0a630293b789c59a8c4b0c4a2b936b505
Diffstat (limited to 'lix-doc')
0 files changed, 0 insertions, 0 deletions