Skip to content

Commit

Permalink
Use consistent phrasing in help
Browse files Browse the repository at this point in the history
  • Loading branch information
vimpostor committed Oct 3, 2024
1 parent 580d3a1 commit 5cb10be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/man/man1/blobdrop.1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ frontend to intercept another drag and drop operation. Once an element is droppe
option determines the frontend of the outgoing converted drag and drop event.
.TP
.B \-I, \-\-icon-only
Show only the thumbnail icons in windows. This option has no effect if a frontend other than the
Show only thumbnail icons. This option has no effect if a frontend other than the
.B gui
frontend is active.
.TP
Expand Down
6 changes: 3 additions & 3 deletions src/getopts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ bool parse(const QStringList &args) {
"Spawn window at the mouse cursor.");
QCommandLineOption frontend_opt(QStringList() << "f"
<< "frontend",
"Selects the frontend. Must be one of:" + QString::fromStdString(frontends_descr) + " (auto is default)",
"Selects the frontend. Must be one of:" + QString::fromStdString(frontends_descr) + " (default auto).",
"frontend");
QCommandLineOption intercept_opt(QStringList() << "i"
<< "intercept",
Expand All @@ -56,14 +56,14 @@ bool parse(const QStringList &args) {
"Enable ssh remote transparency.");
QCommandLineOption thumbnailsize_opt(QStringList() << "s"
<< "thumb-size",
"Set thumbnail size (default 64)",
"Set thumbnail size (default 64).",
"size");
QCommandLineOption ontop_opt(QStringList() << "t"
<< "ontop",
"Keep the window on top of other windows.");
QCommandLineOption auto_quit_opt(QStringList() << "x"
<< "auto-quit",
"The amount of drags after which the program should automatically close. Must be one of:" + QString::fromStdString(auto_quit_descr) + " (all is default)",
"The amount of drags after which the program should automatically close. Must be one of:" + QString::fromStdString(auto_quit_descr) + " (default all).",
"behaviour");

p.addOptions({frameless_opt, cursor_opt, frontend_opt, intercept_opt, icononly_opt, keep_opt, persistent_opt, prefix_opt, remote_opt, thumbnailsize_opt, ontop_opt, auto_quit_opt});
Expand Down

0 comments on commit 5cb10be

Please sign in to comment.