We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6b96ed commit a919a0fCopy full SHA for a919a0f
cmd/l0la/main.go
@@ -45,14 +45,6 @@ func main() {
45
}
46
47
48
-func parseSecs() (int, error) {
49
- if len(flag.Args()) != 1 {
50
- return 0, errors.New("pid not supplied")
51
- }
52
- pid, err := strconv.Atoi(flag.Args()[0])
53
- return pid, err
54
-}
55
-
56
func parsePid() (int, error) {
57
if len(flag.Args()) != 1 {
58
return 0, errors.New("pid not supplied")
l0la_test.go
@@ -6,5 +6,6 @@ import (
6
)
7
8
func TestWatch(t *testing.T) {
9
+ //Watch(os.Getpid(), 4)
10
Watch(os.Getpid(), 4)
11
0 commit comments