From 9a73b32397b762a0f923d31d3e4f74d460f4f3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 16 Dec 2015 17:18:43 +0100 Subject: [PATCH] Better formatting for the Context command-line arguments. --- src/Magnum/Context.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/Magnum/Context.h b/src/Magnum/Context.h index ec948646d..3522be233 100644 --- a/src/Magnum/Context.h +++ b/src/Magnum/Context.h @@ -96,20 +96,18 @@ information. The context is configurable through command-line options, that are passed either from the `Platform::*Application` classes or from the @ref Platform::Context -class. The options are as following: +class. Usage: -``` -Usage: - [--magnum-help] [--magnum-disable-workarounds LIST] [--magnum-disable-extensions LIST] ... + [--magnum-help] [--magnum-disable-workarounds LIST] [--magnum-disable-extensions LIST] ... Arguments: - ... main application arguments - (see -h or --help for details) - --magnum-help display this help message and exit - --magnum-disable-workarounds LIST driver workarounds to disable - (see src/Magnum/Implementation/driverSpecific.cpp for detailed info) - --magnum-disable-extensions LIST OpenGL extensions to disable -``` + +- `...` -- main application arguments (see `-h` or `--help` for details) +- `--magnum-help` -- display this help message and exit +- `--magnum-disable-workarounds LIST` -- driver workarounds to disable (see + `src/Magnum/Implementation/driverSpecific.cpp` for detailed info) +- `--magnum-disable-extensions LIST` -- OpenGL extensions to disable + */ class MAGNUM_EXPORT Context { friend Platform::Context;