diff options
| author | Michael Reed <m.reed@mykolab.com> | 2016-01-09 03:35:36 -0500 |
|---|---|---|
| committer | Michael Reed <m.reed@mykolab.com> | 2016-01-09 03:35:36 -0500 |
| commit | fe4784225fa19e737d4467257a571ae08425348a (patch) | |
| tree | 1d0f24d8f94fa49d1756a44444d2b5afe7b8e96d /text.h | |
| parent | 0e8d2eb25b829cea8e81b5788d35a73687d6a57d (diff) | |
| download | vis-fe4784225fa19e737d4467257a571ae08425348a.tar.gz vis-fe4784225fa19e737d4467257a571ae08425348a.tar.xz | |
vis-open: Use basename of $0 in usage message
If vis-open is placed in a user's PATH and executed then $0 will be
vis-open's absolute path:
$ vis-open -h
usage: /usr/local/bin/vis-open [-h] [-p prompt] [file-pattern]
This isn't very pretty, so use basename(1) on $0:
$ vis-open -h
usage: vis-open [-h] [-p prompt] [file-pattern]
Diffstat (limited to 'text.h')
0 files changed, 0 insertions, 0 deletions
