mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
add documentation for client commands
This commit is contained in:
parent
68b517e1ae
commit
3746542462
4 changed files with 53 additions and 5 deletions
|
|
@ -360,7 +360,7 @@ int main(int argc, char **argv) {
|
|||
{
|
||||
int colorlen = strlen(optarg);
|
||||
if (colorlen < 6 || colorlen == 7 || colorlen > 8) {
|
||||
sway_log(L_ERROR, "color must be specified in 3 or 4 byte format, e.g. ff0000 or ff0000ff");
|
||||
sway_log(L_ERROR, "color must be specified in 3 or 4 byte format, e.g. rrggbb or rrggbbaa");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
render_data.color = strtol(optarg, NULL, 16);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue