Commit 32ce48b
committed
Fix usage line in help page to be path to program
This commit adjusts the help screen to display the path to this program rather
than the name. Normally, this is the same as the binary, but in some cases it
can be different.
Conventionally, the path is shown. For instance, GNU cat does the following:
$ cat --help
Usage: cat [OPTION]... [FILE]...
Which is not the name of the program, but the path:
$ ln -s /usr/bin/cat dog
$ ./dog --help
Usage: ./dog [OPTION]... [FILE]...
Concatenate FILE(s) to standard output.1 parent 590cfec commit 32ce48b
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
0 commit comments