summaryrefslogtreecommitdiffstats
path: root/tabbed.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2016-01-03 13:01:32 +0100
committerChristoph Lohmann <20h@r-36.net>2016-01-03 14:11:20 +0100
commiteb0ff62120df6a5e87f26ba0b1e86bbaebeccb87 (patch)
tree9c4908b965ab179892682793bdabf9b223026e3d /tabbed.c
parent105855240e8a63f6c02c3b960652ff5e8605e010 (diff)
downloadtabbed-eb0ff62120df6a5e87f26ba0b1e86bbaebeccb87.tar.gz
Remove h flag, put usage() in the default case
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat (limited to 'tabbed.c')
-rw-r--r--tabbed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tabbed.c b/tabbed.c
index aa4d44d..5f035c0 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -1289,7 +1289,7 @@ xsettitle(Window w, const char *str)
void
usage(void)
{
- die("usage: %s [-dfhsv] [-g geometry] [-n name] [-p [s+/-]pos]\n"
+ die("usage: %s [-dfsv] [-g geometry] [-n name] [-p [s+/-]pos]\n"
" [-r narg] [-o color] [-O color] [-t color] [-T color]\n"
" [-u color] [-U color] command...\n", argv0);
}
@@ -1355,9 +1355,9 @@ main(int argc, char *argv[])
die("tabbed-"VERSION", © 2009-2016 tabbed engineers, "
"see LICENSE for details.\n");
break;
- default: /* FALLTHROUGH */
- case 'h':
+ default:
usage();
+ break;
} ARGEND;
if (argc < 1) {