[hackers] [st] Fix forgotten bracket and duplicate option in usage() || Quentin Rameau

From: <git_AT_suckless.org>
Date: Mon, 1 Feb 2016 18:14:49 +0100 (CET)

commit 6d636beb229cebf3b897446c72c7a341bee9f820
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Mon Feb 1 12:20:33 2016 +0100
Commit: Christoph Lohmann <20h_AT_r-36.net>
CommitDate: Mon Feb 1 18:14:27 2016 +0100

    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_AT_r-36.net>

diff --git a/st.c b/st.c
index 41f6942..0536b6f 100644
--- a/st.c
+++ b/st.c
_AT_@ -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
Received on Mon Feb 01 2016 - 18:14:49 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 01 2016 - 18:24:12 CET