Improved usage directives

pull/11/head
Ashish Kumar Yadav 4 years ago
parent ae59888015
commit 35f3972aa5

@ -4,7 +4,7 @@ Modular status monitor for dwm written in C.
# Usage
`dwmblocks [-d delimiter]`
`dwmblocks [-d <delimiter>]`
# Modifying blocks
@ -32,8 +32,8 @@ as instructed on the page.
# Signaling changes
To signal a specific block to update, run `sigdwmblocks signal [sigval]`.
`sigval` is optional and must be an integer. If provided, it is passed as the
To signal a specific block to update, run `sigdwmblocks <signal> [<sigval>]`.
`<sigval>` is optional and must be an integer. If provided, it is passed as the
first argument to the program specified for updating the block.
# xgetrootname

@ -71,6 +71,6 @@ main(int argc, char *argv[])
}
}
fprintf(stderr, "Usage: %s signal [sigval]\n", argv[0]);
fprintf(stderr, "Usage: %s <signal> [<sigval>]\n", argv[0]);
return 3;
}

Loading…
Cancel
Save