summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2017-05-04 10:22:29 +0200
committerQuentin Rameau <quinq@fifth.space>2017-05-04 10:29:02 +0200
commitd984d12de719f6a8e7f96c04ad3a53ab73a27df8 (patch)
tree740406a9d67e07eb0c23657f7949898c6586ddd7
parent290114530161b0302d06f6934ce088771c272181 (diff)
downloadsurf-d984d12de719f6a8e7f96c04ad3a53ab73a27df8.tar.gz
surf-d984d12de719f6a8e7f96c04ad3a53ab73a27df8.tar.bz2
surf-d984d12de719f6a8e7f96c04ad3a53ab73a27df8.zip
Simplify usage()
There's no real need for using the real executable call name, especially with basename requiring special care.
-rw-r--r--surf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/surf.c b/surf.c
index 05d173e..0fcf22e 100644
--- a/surf.c
+++ b/surf.c
@@ -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