... | ... |
@@ -1,59 +1,39 @@ |
1 |
-# version -> hlp |
|
1 |
+# hlp |
|
2 | 2 |
|
3 |
-Same issue on help |
|
4 |
--h --help |
|
5 |
-trying something … may work |
|
6 |
-there is no standard either |
|
7 | 3 |
|
8 |
-<hr> |
|
9 |
- |
|
10 |
-What version do I have of ___? |
|
4 |
+What shows help ___? |
|
11 | 5 |
|
12 | 6 |
You've been there... |
13 | 7 |
|
14 | 8 |
``` |
15 |
-java -v // unrecognized option |
|
16 |
-java -V // unrecognized option |
|
17 |
-java --version // unrecognized option |
|
18 |
-java --Version // unrecognized option |
|
19 |
-java -Version // unrecognized option |
|
20 |
-java -version // 1.8.0_262 |
|
9 |
+ls -h //human-readable |
|
10 |
+ls --help // Aufruf: ls [OPTION]... [DATEI]... |
|
21 | 11 |
``` |
22 | 12 |
|
23 | 13 |
There's no standard. |
24 | 14 |
|
25 | 15 |
``` |
26 |
-gcc --version |
|
27 |
-node -v |
|
28 |
-node --version |
|
29 |
-python -V |
|
30 |
-perl -v |
|
31 |
-perl --version |
|
32 |
-go version |
|
33 |
-lua -v |
|
34 |
-rustc --version |
|
16 |
+sed -h OR sed --help |
|
17 |
+ONLY less -help |
|
18 |
+ |
|
35 | 19 |
``` |
36 | 20 |
|
37 |
-`version` is a simple, easily updateable script that tells you what version you are on. |
|
21 |
+`hlp` is a simple, easily updateable script that links to the help attribute. |
|
38 | 22 |
|
39 |
-``` |
|
40 |
-version node // v14.70 |
|
41 |
-version gcc // 10.1.0 |
|
42 |
-version java // 1.8.0_262 |
|
43 |
-version pascal // 'pascal' does not seem to be installed. |
|
44 |
-``` |
|
45 | 23 |
## Installation |
46 | 24 |
|
47 | 25 |
Download, put in your path. |
26 |
+for instance /usr/local/bin/ |
|
27 |
+ |
|
48 | 28 |
|
49 | 29 |
## Info |
50 |
-Current version: v0.3.3 |
|
30 |
+Current version: v0.02 |
|
51 | 31 |
|
52 |
-Recognized tools: 125 |
|
32 |
+Recognized tools: 3 |
|
53 | 33 |
|
54 | 34 |
## Contribute |
55 | 35 |
|
36 |
+ |
|
56 | 37 |
[Contribution guidelines](contributions.md) |
57 | 38 |
|
58 | 39 |
## FAQ |
... | ... |
@@ -67,15 +47,3 @@ A: Yes. But running various random commands on somoene else's computer and seein |
67 | 47 |
Q: What operating systems does this work on? |
68 | 48 |
|
69 | 49 |
A: It should work on any \*nix based system. It's been pretty thoroughly tested on versions of Linux and Macos. There will be some differences across platforms though. See the questions below. |
70 |
- |
|
71 |
- |
|
72 |
-Q: Why does it give me an error on command _____? |
|
73 |
- |
|
74 |
-A: Feel free to file an issue and I'll look into it. Some tools have different variants that behave differently. For example, `sed --version` works fine on my Linux machine, but `sed` does not seem to have any version argument at all on my Mac. |
|
75 |
- |
|
76 |
- |
|
77 |
-Q: Why does it say I don't have a program installed when I know I do? |
|
78 |
- |
|
79 |
-A: Again, some tools work differently on different systems. For example, on Linux, I can launch Firefox from the command line with `firefox`. But on Mac, I have to type `open -a Firefox`, because on Mac Firefox is not really a command line program. Instead, `Firefox.app` is a special folder containing the executable `firefox` nested a few levels deep. But since that's not in the search path, `version` cannot find it. If you can launch the program Foo by typing `foo` on the command line, then `version foo` should work (if it's in the list). There are no plans to make version work for Mac `.app` programs. |