Commit graph

8 commits

Author SHA1 Message Date
Vasil Dimov
f32426de57 Avoid program_invocation_name which is available only on Linux
`program_invocation_name` is defined by the system headers only on
Linux, or at least it is not available on FreeBSD.

Introduce own global variable that contains the program name. If
it is unset then use `getprogname()` or `program_invocation_name`.

Co-authored-by: Ken Sedgwick <ken@bonsai.com>
2024-10-28 12:12:15 -05:00
Ken Sedgwick
a8ca8ca6fe Recognize --developer CLI flag and don't exit giving usage ([#185])
CLBOSS did not know the `--developer` flag and generated a usage
message and exited.  Fixed with:
- recognize and consume the `developer` flag, no actions for now
- print unrecognized options to std::cerr

Fixes ([#185])
2024-06-17 15:40:07 -07:00
ZmnSCPxj jxPCSnmZ
6d1badf9d9 Boss/Main.cpp: Add support for debugging. 2020-09-13 12:25:37 +08:00
ZmnSCPxj jxPCSnmZ
5881e137d5 Boss/open_rpc_socket.cpp: Function to open the RPC socket. 2020-09-07 21:50:38 +08:00
ZmnSCPxj jxPCSnmZ
99cd48925f Boss/Mod/all.cpp: Initial function to create all modules. 2020-09-07 11:52:37 +08:00
ZmnSCPxj jxPCSnmZ
49398b9af6 Boss/JsonInput.cpp: Implement input loop. 2020-09-07 11:51:30 +08:00
ZmnSCPxj jxPCSnmZ
cad1f6c0f2 Boss/Msg/Begin.hpp: Message sent at beginning of boss. 2020-09-07 10:55:40 +08:00
ZmnSCPxj jxPCSnmZ
97617b3d91 Boss/Main.cpp: Main object for CLBOSS. 2020-08-24 05:13:32 +00:00