summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2024-04-15 17:02:46 -0400
committerSimon Ser <contact@emersion.fr>2024-04-16 01:00:51 +0200
commit87ca82d8872b4f5768419ac0c4f951f9da17619d (patch)
treea7ef12ab2fa97689f0ec4770055ea8d3c793074c
parent80ed4b020adfb0846f780faba95fc5cc9a770a18 (diff)
downloadswaybg-87ca82d8872b4f5768419ac0c4f951f9da17619d.tar.gz
swaybg-87ca82d8872b4f5768419ac0c4f951f9da17619d.tar.bz2
Document option arguments in command line usage
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 3787cc7..bf02516 100644
--- a/main.c
+++ b/main.c
@@ -434,11 +434,11 @@ static void parse_command_line(int argc, char **argv,
const char *usage =
"Usage: swaybg <options...>\n"
"\n"
- " -c, --color Set the background color.\n"
+ " -c, --color RRGGBB Set the background color.\n"
" -h, --help Show help message and quit.\n"
- " -i, --image Set the image to display.\n"
- " -m, --mode Set the mode to use for the image.\n"
- " -o, --output Set the output to operate on or * for all.\n"
+ " -i, --image <path> Set the image to display.\n"
+ " -m, --mode <mode> Set the mode to use for the image.\n"
+ " -o, --output <name> Set the output to operate on or * for all.\n"
" -v, --version Show the version number and quit.\n"
"\n"
"Background Modes:\n"