I am parsing command line arguments in my C++ application. This works fine.
Some of these command line arguments are used to generate verbose or debug output in the console. So technically all objects and the whole application must have access to the command line arguments.
I can imagine either passing the command line arguments to all objects or implementing a singleton design pattern.
What other options are there and what would be the best option?