aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2016-02-01 12:20:33 +0100
committerChristoph Lohmann <20h@r-36.net>2016-02-01 18:14:27 +0100
commit6d636beb229cebf3b897446c72c7a341bee9f820 (patch)
tree2be6b8f5d5b250a5c7b279424e505ca5307e00f1 /st.c
parent6e70bb97d4e98a5e2fa7c5488b0cba1da140b78f (diff)
downloadst-6d636beb229cebf3b897446c72c7a341bee9f820.tar.gz
st-6d636beb229cebf3b897446c72c7a341bee9f820.tar.bz2
Fix forgotten bracket and duplicate option in usage()
Scratch the preceding patch, this one is more correct (don't forget to 'git am --scissors' ;)) -- >8 -- Also reformat the strings in a saner layout Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat (limited to 'st.c')
-rw-r--r--st.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/st.c b/st.c
index 41f6942..0536b6f 100644
--- a/st.c
+++ b/st.c
@@ -4333,12 +4333,14 @@ run(void)
void
usage(void)
{
- die("usage: %s "
- "[-aiv] [-c class] [-f font] [-g geometry] [-n name] [-o file]\n "
- " [-T title] [-t title] [-w windowid] [[-e] command [args ...]\n "
- " %s [-aiv] [-c class] [-f font] [-g geometry] [-n name] [-o file]\n "
- " [-o file] [-T title] [-t title] [-w windowid] -l line"
- " [stty_args ...]\n", argv0, argv0);
+ die("usage: %s [-aiv] [-c class] [-f font] [-g geometry]"
+ " [-n name] [-o file]\n"
+ " [-T title] [-t title] [-w windowid]"
+ " [[-e] command [args ...]]\n"
+ " %s [-aiv] [-c class] [-f font] [-g geometry]"
+ " [-n name] [-o file]\n"
+ " [-T title] [-t title] [-w windowid] -l line"
+ " [stty_args ...]\n", argv0, argv0);
}
int