Simplify usage()
There's no real need for using the real executable call name, especially with basename requiring special care.
This commit is contained in:
parent
2901145301
commit
d984d12de7
6
surf.c
6
surf.c
|
@ -256,9 +256,9 @@ char *argv0;
|
||||||
void
|
void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
die("usage: %s [-bBdDfFgGiIkKmMnNpPsStTvwxX] [-a cookiepolicies ] "
|
die("usage: surf [-bBdDfFgGiIkKmMnNpPsStTvwxX]\n"
|
||||||
"[-c cookiefile] [-C stylefile] [-e xid] [-r scriptfile] "
|
"[-a cookiepolicies ] [-c cookiefile] [-C stylefile] [-e xid]\n"
|
||||||
"[-u useragent] [-z zoomlevel] [uri]\n", basename(argv0));
|
"[-r scriptfile] [-u useragent] [-z zoomlevel] [uri]\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue
Block a user