Improved usage directives

This commit is contained in:
Ashish Kumar Yadav 2020-07-14 01:30:57 +05:30
parent ae59888015
commit 35f3972aa5
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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;
}