tSimplify usage() - surf - customized build of surf, the suckless webkit browser
(HTM) git clone git://src.adamsgaard.dk/surf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d984d12de719f6a8e7f96c04ad3a53ab73a27df8
(DIR) parent 290114530161b0302d06f6934ce088771c272181
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Thu, 4 May 2017 10:22:29 +0200
Simplify usage()
There's no real need for using the real executable call name, especially
with basename requiring special care.
Diffstat:
M surf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/surf.c b/surf.c
t@@ -256,9 +256,9 @@ char *argv0;
void
usage(void)
{
- die("usage: %s [-bBdDfFgGiIkKmMnNpPsStTvwxX] [-a cookiepolicies ] "
- "[-c cookiefile] [-C stylefile] [-e xid] [-r scriptfile] "
- "[-u useragent] [-z zoomlevel] [uri]\n", basename(argv0));
+ die("usage: surf [-bBdDfFgGiIkKmMnNpPsStTvwxX]\n"
+ "[-a cookiepolicies ] [-c cookiefile] [-C stylefile] [-e xid]\n"
+ "[-r scriptfile] [-u useragent] [-z zoomlevel] [uri]\n");
}
void