Add back version flag to prepare for release
This commit is contained in:
@ -41,7 +41,7 @@ difftimespec(struct timespec *res, struct timespec *a, struct timespec *b)
|
||||
static void
|
||||
usage(void)
|
||||
{
|
||||
die("usage: %s [-s] [-1]", argv0);
|
||||
die("usage: %s [-v] [-s] [-1]", argv0);
|
||||
}
|
||||
|
||||
int
|
||||
@ -56,6 +56,8 @@ main(int argc, char *argv[])
|
||||
|
||||
sflag = 0;
|
||||
ARGBEGIN {
|
||||
case 'v':
|
||||
die("slstatus-"VERSION);
|
||||
case '1':
|
||||
done = 1;
|
||||
/* FALLTHROUGH */
|
||||
|
Reference in New Issue
Block a user