Skip to content

Commit cf767f7

Browse files
committed
Reorder option list of --help by category (follow README.adoc)
Signed-off-by: Philippe Proulx <[email protected]>
1 parent 51d5d45 commit cf767f7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jome/jome.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,19 @@ Params parseArgs(QApplication& app)
5858
parser.addVersionOption();
5959

6060
const QCommandLineOption formatOpt {"f", "Set output format to <FORMAT> (`utf-8` or `cp`)", "FORMAT", "utf-8"};
61-
const QCommandLineOption serverNameOpt {"s", "Set server name to <NAME>.", "NAME"};
62-
const QCommandLineOption cmdOpt {"c", "Execute external command <CMD> with accepted emoji.", "CMD"};
63-
const QCommandLineOption copyToClipboardOpt {"b", "Copy the accepted emoji to the clipboard."};
6461
const QCommandLineOption cpPrefixOpt {"p", "Set codepoint prefix to <CPPREFIX>.", "CPPREFIX"};
6562
const QCommandLineOption noNlOpt {"n", "Do not output newline."};
63+
const QCommandLineOption removeVs16Opt {"V", "Remove VS-16 codepoints."};
64+
const QCommandLineOption cmdOpt {"c", "Execute external command <CMD> with accepted emoji.", "CMD"};
65+
const QCommandLineOption copyToClipboardOpt {"b", "Copy the accepted emoji to the clipboard."};
6666
const QCommandLineOption noHideOpt {"q", "Do not quit when accepting."};
67+
const QCommandLineOption serverNameOpt {"s", "Set server name to <NAME>.", "NAME"};
6768
const QCommandLineOption darkBgOpt {"d", "Use dark emoji background."};
69+
const QCommandLineOption noCatListOpt {"C", "Hide category list."};
70+
const QCommandLineOption noKwListOpt {"k", "Hide keyword list."};
6871
const QCommandLineOption emojiWidthOpt {"w", "Set emoji width to <WIDTH> px (16, 24, 32, 40, or 48).", "WIDTH"};
6972
const QCommandLineOption selectedEmojiFlashPeriodOpt {"P", "Set selected emoji flashing period to <PERIOD> ms.", "PERIOD"};
7073
const QCommandLineOption maxRecentEmojisOpt {"H", "Set maximum number of recently accepted emojis to <COUNT>.", "COUNT"};
71-
const QCommandLineOption removeVs16Opt {"V", "Remove VS-16 codepoints."};
72-
const QCommandLineOption noCatListOpt {"C", "Hide category list."};
73-
const QCommandLineOption noKwListOpt {"k", "Hide keyword list."};
7474

7575
parser.addOption(formatOpt);
7676
parser.addOption(serverNameOpt);

0 commit comments

Comments
 (0)