whichr 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/whichr +3 -4
- metadata +1 -1
data/bin/whichr
CHANGED
|
@@ -11,14 +11,13 @@ require 'sane'
|
|
|
11
11
|
require 'whichr.rb'
|
|
12
12
|
|
|
13
13
|
if ARGV[0].in?(['--help', '-h']) || (ARGV.length == 0)
|
|
14
|
-
puts
|
|
15
|
-
|
|
14
|
+
puts "syntax:
|
|
15
|
+
whichr executable_name_or_glob [-a : all (include non executables) ]
|
|
16
16
|
ex:
|
|
17
17
|
$ whichr ls
|
|
18
18
|
$ whichr ls\*
|
|
19
19
|
$ whichr ls.exe
|
|
20
|
-
$ whichr ls -a # print non executables, too
|
|
21
|
-
"
|
|
20
|
+
$ whichr ls -a # print non executables, too"
|
|
22
21
|
exit 0
|
|
23
22
|
end
|
|
24
23
|
|