Improved usage directives
This commit is contained in:
parent
ae59888015
commit
35f3972aa5
|
@ -4,7 +4,7 @@ Modular status monitor for dwm written in C.
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
`dwmblocks [-d delimiter]`
|
`dwmblocks [-d <delimiter>]`
|
||||||
|
|
||||||
# Modifying blocks
|
# Modifying blocks
|
||||||
|
|
||||||
|
@ -32,8 +32,8 @@ as instructed on the page.
|
||||||
|
|
||||||
# Signaling changes
|
# Signaling changes
|
||||||
|
|
||||||
To signal a specific block to update, run `sigdwmblocks signal [sigval]`.
|
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
|
`<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.
|
first argument to the program specified for updating the block.
|
||||||
|
|
||||||
# xgetrootname
|
# 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;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue