Usage options */
| 2646 | |
| 2647 | /** Usage options */ |
| 2648 | struct UsageOptions |
| 2649 | { |
| 2650 | /** Whether this is a pipeline step */ |
| 2651 | bool isPipelineStep; |
| 2652 | /** Maximum width of the names of the options */ |
| 2653 | size_t maxOptLen; |
| 2654 | /** Whether this is a pipeline main */ |
| 2655 | bool isPipelineMain; |
| 2656 | |
| 2657 | UsageOptions() |
| 2658 | : isPipelineStep(false), maxOptLen(0), isPipelineMain(false) |
| 2659 | { |
| 2660 | } |
| 2661 | }; |
| 2662 | |
| 2663 | /** Return the usage as a string appropriate for command-line interface |
| 2664 | * \--help output. |