Skip to content

Commit

Permalink
Display alpha in usage
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroeightysix authored and emersion committed Feb 20, 2019
1 parent 11cdf77 commit 4e344aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,12 +354,12 @@ static const struct wl_registry_listener registry_listener = {
static const char usage[] =
"Usage: slurp [options...]\n"
"\n"
" -h Show help message and quit.\n"
" -d Display dimensions of selection.\n"
" -b #rrggbb Set background color.\n"
" -c #rrggbb Set border color.\n"
" -s #rrggbb Set selection color.\n"
" -w n Set border weight.\n";
" -h Show help message and quit.\n"
" -d Display dimensions of selection.\n"
" -b #rrggbbaa Set background color.\n"
" -c #rrggbbaa Set border color.\n"
" -s #rrggbbaa Set selection color.\n"
" -w n Set border weight.\n";

uint32_t parse_color(const char *color) {
if (color[0] == '#') {
Expand Down

0 comments on commit 4e344aa

Please sign in to comment.