For example: ./main sub1 sub2 -h should display options for both sub2, sub1, and main(for the entire command chain), as these options can also be provided.
I am still uncertain whether it should be implemented at all. Alternatively, it could be a configurable option that enables this functionality.
For example:
./main sub1 sub2 -hshould display options for bothsub2,sub1, andmain(for the entire command chain), as these options can also be provided.I am still uncertain whether it should be implemented at all. Alternatively, it could be a configurable option that enables this functionality.